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


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

Are there any "correct" implementations of tzinfo?

Started byRandom832 <random832@fastmail.com>
First post2015-09-12 14:23 -0400
Last post2015-09-12 14:23 -0400
Articles 1 — 1 participant

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


Contents

  Are there any "correct" implementations of tzinfo? Random832 <random832@fastmail.com> - 2015-09-12 14:23 -0400

#96446 — Are there any "correct" implementations of tzinfo?

FromRandom832 <random832@fastmail.com>
Date2015-09-12 14:23 -0400
SubjectAre there any "correct" implementations of tzinfo?
Message-ID<mailman.436.1442082212.8327.python-list@python.org>
I was trying to find out how arithmetic on aware datetimes is "supposed
to" work, and tested with pytz. When I posted asking why it behaves this
way I was told that pytz doesn't behave correctly according to the way
the API was designed. The tzlocal module, on the other hand, appears to
simply defer to pytz on Unix systems.

My question is, _are_ there any correct reference implementations that
demonstrate the proper behavior in the presence of a timezone that has
daylight saving time transitions?

[toc] | [standalone]


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


csiph-web