How to look up historical time zones by date and location

Chris “Kwpolska” Warrick kwpolska at gmail.com
Mon Aug 18 14:56:31 EDT 2014


On 18 August 2014 20:03 "Ian Kelly" <ian.g.kelly at gmail.com> wrote:
> I also don't know why pytz shows the LMT offset in the repr for those
> timezones instead of the current UTC offset.

If pytz objects do not have a datetime object attached, they default to the
first ever entry, which is usually LMT. This can be problematic, as there
are ways to attach a ~100 years ago time zone object to a 2014 date.

-- 
Chris “Kwpolska” Warrick <http://chriswarrick.com/>
Sent from my SGS3.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140818/3b85cdad/attachment.html>


More information about the Python-list mailing list