code: def clean_time(time_string):
      
      # Get a timezone-aware datetime object from the string
      time = dateutil.parser.parse(time_string)
      if not settings.USE_TZ:
          # If timezone support is not active, convert the time to UTC and
          # remove the timezone field
          time = time.astimezone(timezone.utc).replace(tzinfo=None)
      return time
docs: Return a datetime from the Amazon-provided datetime string