[Zope] Comparing two dates WITH time?

Nils Jeppe nils@jeppe.de
Wed, 5 Jul 2000 13:59:05 +0200 (CEST)


Hello Gregor,

Thanks for the reply. If I read this bug correctly, though, it means the
time is off by one hour. I checked and all my date/time objects get stored
as gmt+1 (which of course is indeed wrong), however, shouldn't the
comparison of the two variables succeed anyway?


Best wishes,
Nils


On Wed, 5 Jul 2000, Gregor Hoffleit wrote:

> I guess this problem is just an incarnation of the open bug #1204
> (cf. http://classic.zope.org:8080/Collector/1204/view), "DateTime has
> bad problems with daylight saving times".
> 
> A patch for is available as http://www.zope.org/Members/hathawsh/DateTime.py
> but it is not included in the CVS version.
> 
> Essentially, this bug says that DateTime conversions and rendering tends to
> be wrong, when your're in a daylight saving time zone (e.g. 'Sommerzeit').