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

random832 at fastmail.com random832 at fastmail.com
Sat Sep 12 22:54:09 EDT 2015



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.



More information about the Python-list mailing list