27 Aug
2007
27 Aug
'07
7:43 p.m.
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