Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76503

Re: How to look up historical time zones by date and location

References (1 earlier) <85mwb24h9o.fsf@benfinney.id.au> <53F1875F.4020109@gmail.com> <CAPTjJmrxAox15ZKSNR5HtbFJSBukK7GwKH91itLid8cNE8Nvsg@mail.gmail.com> <53F1FBCC.6060406@gmail.com> <CALwzidkdnS1X7t=+gXsL_t+UcnhY+QvL_Gyj8Dgfc2uzhJM4Pw@mail.gmail.com>
Date 2014-08-18 20:56 +0200
Subject Re: How to look up historical time zones by date and location
From Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.13111.1408388194.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 18 August 2014 20:03 "Ian Kelly" <ian.g.kelly@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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to look up historical time zones by date and location Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-08-18 20:56 +0200

csiph-web