This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients amaury.forgeotdarc, belopolsky, eryksun, jcea, msmhrt, ocean-city, p-ganssle, prikryl, vstinner
Date 2021-03-06.16:21:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The solution for bpo-36779 changed init_timezone() to get tzname directly from WinAPI GetTimeZoneInformation(). 

Unfortunately the implementer didn't think to also support time.tzset(), so the value may be stale with no way to refresh it, or possibly different from what time.strftime('%Z') returns, depending on when ucrt looks up the timezone. For example, start Python and import time. Then change the time zone and call time.strftime('%Z'). The value will be different from time.tzname.
Date User Action Args
2021-03-06 16:21:56eryksunsetrecipients: + eryksun, jcea, amaury.forgeotdarc, prikryl, belopolsky, vstinner, ocean-city, msmhrt, p-ganssle
2021-03-06 16:21:56eryksunsetmessageid: <>
2021-03-06 16:21:56eryksunlinkissue16322 messages
2021-03-06 16:21:56eryksuncreate