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


Groups > comp.lang.python > #96508 > unrolled thread

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

Started byLaura Creighton <lac@openend.se>
First post2015-09-13 18:00 +0200
Last post2015-09-13 18:00 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromLaura Creighton <lac@openend.se>
Date2015-09-13 18:00 +0200
SubjectRe: [Datetime-SIG] Are there any "correct" implementations of tzinfo?
Message-ID<mailman.479.1442160018.8327.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web