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

Laura Creighton lac at openend.se
Sun Sep 13 18:00:07 CEST 2015


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




More information about the Python-list mailing list