[Zope-dev] Options replacing DateTime with datetime!?
Dieter Maurer
dieter at handshake.de
Mon Aug 27 15:43:35 EDT 2007
Andreas Jung wrote at 2007-8-26 20:31 +0200:
> ...
>Conversion between both is pretty much trivial. However I have no idea
>how this would solve the DateTime problem. So what are our DateTime
>problems?
>
> - an insane constructor with a parser trying to parse almost every
> date format in the world (with lots of guessing and dealing
> with ambiguousness)
Which you cannot get rid of -- for backward compatibility.
> - an insane timezone handling
Timezones *are* incredibly difficult. It is not "DateTimes" fault (although
there are some bugs, almost surely easily fixable).
> - DateTime is doing way too much
Which you cannot get rid of -- for backward compatibility.
--
Dieter
More information about the Zope-Dev
mailing list