DST and datetime
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sun Jan 3 20:23:45 EST 2010
In message <874on82oan.fsf at benfinney.id.au>, Ben Finney wrote:
> Or you could use the ready-made wheel maintained by others:
>
> tzinfo Objects
> <URL:http://docs.python.org/library/datetime.html#tzinfo-objects>
But that’s only an abstract base class, which means it doesn’t actually
implement any reading of actual timezone info.
> World timezone definitions, modern and historical
> <URL:http://pypi.python.org/pypi/pytz>
Shame that they maintain their own duplicate of the Olson database, instead
of reading the original directly from /usr/share/zoneinfo
<http://www.codecodex.com/wiki/Reading_time_zone_files>.
More information about the Python-list
mailing list