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


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

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

Started byrandom832@fastmail.com
First post2015-09-12 22:54 -0400
Last post2015-09-12 22:54 -0400
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? random832@fastmail.com - 2015-09-12 22:54 -0400

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

Fromrandom832@fastmail.com
Date2015-09-12 22:54 -0400
SubjectRe: [Datetime-SIG] Are there any "correct" implementations of tzinfo?
Message-ID<mailman.471.1442140911.8327.python-list@python.org>

On Sat, Sep 12, 2015, at 22:25, Tim Peters wrote:
> That helps a lot, but "industrial-strength" implies "by algorithm".
> There are far too many zones to deal with by crafting a hand-written
> class for each.

It occurs to me that though it's written in C, the zdump utility
included in the tz code is implementation-agnostic w.r.t. what algorithm
is used by the localtime function being tested. It's algorithm could
probably be adapted to python.

[toc] | [standalone]


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


csiph-web