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


Groups > comp.lang.python > #96446

Are there any "correct" implementations of tzinfo?

From Random832 <random832@fastmail.com>
Subject Are there any "correct" implementations of tzinfo?
Date 2015-09-12 14:23 -0400
Newsgroups comp.lang.python
Message-ID <mailman.436.1442082212.8327.python-list@python.org> (permalink)

Show all headers | View raw


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?

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


Thread

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

csiph-web