➜

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.

作者 eryksun
收信人 amaury.forgeotdarc, belopolsky, eryksun, jcea, msmhrt, ocean-city, p-ganssle, prikryl, vstinner
日期 2021-03-06.16:21:56
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1615047716.51.0.891413941647.issue16322@roundup.psfhosted.org>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2021-03-06 16:21:56eryksun修改recipients: + eryksun, jcea, amaury.forgeotdarc, prikryl, belopolsky, vstinner, ocean-city, msmhrt, p-ganssle
2021-03-06 16:21:56eryksun修改messageid: <1615047716.51.0.891413941647.issue16322@roundup.psfhosted.org>
2021-03-06 16:21:56eryksun链接issue16322 messages
2021-03-06 16:21:56eryksun创建