[Zope] Another DateTime Strangeness

Steve Alexander steve@cat-box.net
Sun, 09 Jul 2000 20:27:00 +0100


Nils Jeppe wrote:
>
> Zope just stored a DateTime I entered as 13:14 in a slightly odd way:
> 
> 2000/07/09 13:13:60 GMT+1
>
> Known bug?

Yes. What version of Zope are you running?

Shane Hathaway did a line-by-line audit on DateTime.py, and fixed loads
of timezone and rounding bugs. The fixed version is available in CVS and
in Zope 2.2.x.

There was also a copy of it on Shane's page at www.zope.org, but it is
gone now.

If you get stuck, mail me privately and I'll send you the fixed version.

You're better off getting it from a copy of Zope 2.2, if you can.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net