[Zope3-dev] Can we remove ZopeLegacy for now?

Guido van Rossum guido@python.org
Sun, 17 Mar 2002 21:40:01 -0500


> Prior to the big conference that standardised timezones, individual 
> cities had their own time offsets - they varied by individual minutes
> and seconds. 
> 
> I'm assuming that the timezone objects won't try to get this correct for
> historical datetimes :)

To the contrary, the tzinfo object interface makes it possible for you
to write a tzinfo object that *does* get it correct for historical
datetimes.  Of course, you'd have to feed in the location, or you'd
have to write it specific to one location, and you'd need a ton of
data.  But unlike other timezone systems, we're not trying to pretend
that all DST rulesets can be described by a small set of parameters.
(See http://www.research.att.com/sw/tools/yoix/doc/TimeZone.html for
an example of a system that went overboard trying to describe them
all.)

--Guido van Rossum (home page: http://www.python.org/~guido/)