problem with strptime and time zone

Alex Willmer alex at moreati.org.uk
Wed Aug 25 06:36:38 EDT 2010


On Aug 25, 8:48 am, Lawrence D'Oliveiro <l... at geek-
central.gen.new_zealand> wrote:
> In message
> <45faa241-620e-42c7-b524-949936f63... at f6g2000yqa.googlegroups.com>, Alex
>
> Willmer wrote:
> > Dateutil has it's own timezone database ...
>
> I hate code which doesn’t just use /usr/share/zoneinfo. How many places do
> you need to patch every time somebody changes their daylight-saving rules?

>From reading http://labix.org/python-dateutil can read timezone
information from several platforms, including /usr/share/zoneinfo. I
don't know whether one chooses the source explicitly, or if it is
detected with fall back to the internal database.



More information about the Python-list mailing list