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?

Path csiph.com!news.mixmin.net!news.albasani.net!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'dst': 0.07; 'override': 0.07; 'cc:addr:python-list': 0.09; '(aka': 0.09; 'creighton': 0.09; 'least)': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; '(at': 0.13; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'cc:name:laura creighton': 0.16; 'entries.': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message- id:@fido.openend.se': 0.16; 'peters': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; "time'": 0.16; 'towns': 0.16; 'laura': 0.18; 'subject:] ': 0.19; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**2': 0.20; 'sep': 0.22; 'subject:skip:i 10': 0.22; 'trying': 0.22; 'cc:no real name:2**0': 0.22; 'tim': 0.24; '(e.g.': 0.27; 'question': 0.27; '-0500,': 0.29; 'received:se': 0.29; 'print': 0.30; 'work.': 0.30; 'law.': 0.30; 'guess': 0.31; 'rules': 0.31; 'supposed': 0.31; 'problem': 0.33; 'covered': 0.34; 'schedule': 0.34; 'handle': 0.34; 'done': 0.35; 'skip:> 10': 0.35; "isn't": 0.35; 'but': 0.36; 'url:org': 0.36; 'subject:" ': 0.36; 'subject:?': 0.36; 'being': 0.37; 'charset:us-ascii': 0.37; 'mean': 0.38; 'sure': 0.39; 'subject:-': 0.39; 'header:Message-Id:1': 0.61; 'movement': 0.63; 'more': 0.63; 'hours': 0.65; 'subject:there': 0.66; 'soul': 0.72; "'we": 0.84; 'drinking': 0.84; 'header:In-reply-to:1': 0.84; 'matthews': 0.84; 'subject:any': 0.84; 'western': 0.89; 'railway': 0.91; 'subject:Are': 0.95
To Tim Peters <tim.peters@gmail.com>
cc Laura Creighton <lac@openend.se>, Python-List <python-list@python.org>, datetime-sig <datetime-sig@python.org>, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: [Datetime-SIG] Are there any "correct" implementations of tzinfo?
In-reply-to <CAExdVNkN465=bWeY61PFAxpiUQ-u0p2zaqtwH8PQWyQO4Jw9Mg@mail.gmail.com>
References <m2h9mzqyy7.fsf@fastmail.com> <CAExdVNm0rrxhbSONfQdor7e=9t+6Tg3hh6eFq-h0NnfdpteVYg@mail.gmail.com> <1442085362.324875.381920729.5E7A6DCE@webmail.messagingengine.com> <CAExdVNnUwRKN2q=trpnD9=mxnXvuosWKO+s5=PCfjAO45-Yugw@mail.gmail.com> <CAP7h-xYFAggqbJBNCZbYFwUqCPzW7-4Rc0x_SzgAumpFYAr6oA@mail.gmail.com> <CAExdVNmfTsqunRR_b-Q1YqWrTjsV1L5ppAoAnL7SUwgR2PFU0A@mail.gmail.com> <CAP7h-xbqq2Eu+vVO2g4WmbRJ=gmL1r9D2sWhKe=qQ8Ev-n415w@mail.gmail.com> <CAP7+vJ+1Vg21qOWAD+9R2REDnWiW4o6nj=Rh8fx3x3cAZipcdw@mail.gmail.com> <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>
Comments In-reply-to Tim Peters <tim.peters@gmail.com> message dated "Sun, 13 Sep 2015 10:27:30 -0500."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <25686.1442160007.1@fido>
Date Sun, 13 Sep 2015 18:00:07 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Sun, 13 Sep 2015 18:00:09 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.479.1442160018.8327.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442160018 news.xs4all.nl 23865 [2001:888:2000:d::a6]:57117
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96508

Show key headers only | 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