code: def normalize_time(timestamp):
      
      offset = timestamp.utcoffset()
      if offset is None:
          return timestamp
      return timestamp.replace(tzinfo=None) - offset
docs: Normalize time in arbitrary timezone to UTC naive object.