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


Groups > comp.lang.python > #96508

Re: [Datetime-SIG] Are there any "correct" implementations of tzinfo?

From Laura Creighton <lac@openend.se>
Subject Re: [Datetime-SIG] Are there any "correct" implementations of tzinfo?
References (8 earlier) <CAP7h-xbA6ZagKj+rQ_cCc8d0oK1F329AAhSjY240iiDyB4756A@mail.gmail.com> <CAExdVNnw6zfJQ_wFOurjj6kcLcbr9RgXA7kvyNPmgraMcHU4vQ@mail.gmail.com> <CAP7h-xYp=MsOcvFXNCHNkXDDGH=jcAwYSSw1WWchy5bwZKjwLA@mail.gmail.com> <201509131224.t8DCOXHO004891@fido.openend.se> <CAExdVNkN465=bWeY61PFAxpiUQ-u0p2zaqtwH8PQWyQO4Jw9Mg@mail.gmail.com>
Date 2015-09-13 18:00 +0200
Newsgroups comp.lang.python
Message-ID <mailman.479.1442160018.8327.python-list@python.org> (permalink)

Show all headers | View raw


In a message of Sun, 13 Sep 2015 10:27:30 -0500, Tim Peters writes:
>Hi, Laura!  By "zoneinfo" here, we mean the IANA (aka "Olson") time
>zone database, which is ubiquitous on (at least) Linux:
>
>    https://www.iana.org/time-zones
>
>So "will a wrapping of zoneinfo handle XYZ?" isn't so much a question
>about the wrapping as about what's in the IANA database.

Then we had better be able to override it when it is wrong.

>Best guess is that Creighton's rules are covered by that database's
>America/Winnipeg entries.

># Saskatchewan
># Other western towns (e.g. Lloydminster) are like Edmonton.
># Matthews and Vincent (1998) write that Denare Beach and Creighton
># are like Winnipeg, in violation of Saskatchewan law.

I think that this will work.
Creighton is just across the border from Flin Flan, Manitoba.  Indeed I think
the problem of 'drunken people from Manitoba trying to get one hours more
drinking done and being a menace on the highway' may have fueled the
'we are going to have DST in violation of the law' movement in Creighton.

But I am not sure how it is that a poor soul who just wants to print a
railway schedule 'in local time' is supposed to know that Creighton is
using Winnipeg time.

Laura

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


Thread

Re: [Datetime-SIG] Are there any "correct" implementations of tzinfo? Laura Creighton <lac@openend.se> - 2015-09-13 18:00 +0200

csiph-web