[Python-Dev] proposal: add basic time type to the standard library

Jim Fulton jim@zope.com
Tue, 26 Feb 2002 14:53:49 -0500

Fredrik Lundh wrote:
> jim wrote:
> > BTW, has there been any progress on this?
> the current pepoid proposal is here:
>     http://effbot.org/ideas/time-type.htm
> major issues right now is 1. should the type know about
> timezones (probably not),



Doesn't the proposal sort of imply time-zone
awareness of some kind? Or does it simply imply
UT storage?

> and 2. should it support basic
> arithmetics (probably yes).

Does this imply leap second hell, or will we 
simply be vague about expectations?

I'd also like to see simple access methods for year, 
month, day, hours, minutes, and seconds, with date parts
being one based and time parts being zero based.


Jim Fulton           mailto:jim@zope.com       Python Powered!        
CTO                  (888) 344-4332            http://www.python.org  
Zope Corporation     http://www.zope.com       http://www.zope.org