code: def make_naive(value, timezone):
      
      value = value.astimezone(timezone)
      if hasattr(timezone, 'normalize'):
          # available for pytz time zones
          value = timezone.normalize(value)
      return value.replace(tzinfo=None)
docs: Makes an aware datetime.datetime naive in a given time zone.