Message388209
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:56 | eryksun | set | recipients:
+ eryksun, jcea, amaury.forgeotdarc, prikryl, belopolsky, vstinner, ocean-city, msmhrt, p-ganssle |
2021-03-06 16:21:56 | eryksun | set | messageid: <1615047716.51.0.891413941647.issue16322@roundup.psfhosted.org> |
2021-03-06 16:21:56 | eryksun | link | issue16322 messages |
2021-03-06 16:21:56 | eryksun | create | |
|