On 27 August 2015 at 22:00, Alexander Belopolsky <[email protected]> wrote:
> 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 <[email protected]> http://www.stuartbishop.net/ _______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
