[Django]-Why are django.utils.timezone.make_aware and pytz.localize returning different results when dealing with DST?

3👍

The difference is the is_dst parameter passed to localize. When you call it yourself but leave it off, it defaults to False. In the make_aware code you posted it defaults to None.

Leave a comment