Re: [Datetime-SIG] PEP-431/495
27 Aug
2015
27 Aug
'15
9:57 p.m.
On 27 August 2015 at 22:00, Alexander Belopolsky
I have no idea where you get tzlocal from, but I can assure you that there is no such thing in the standard library.
Consider tzlocal as part of pytz. It is Lennart's work, designed to
work with pytz and would have been part of it except I felt it better
to keep the scope narrowly defined. tzlocal.get_localzone() will load
the correct dst aware local IANA zoneinfo file wherever it is defined
on the platform, and I believe also gets you a working local dst aware
tzinfo on Windows.
--
Stuart Bishop
3158
Age (days ago)
3158
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stuart Bishop