[Zope] Bug with DateTime.float method ?

FR Chalaoux chalaouxf@synbio.tpgnet.net
Thu, 25 Feb 1999 09:40:47 +0100


I GOZ,

I have a problem with the float method from DateTime module !!
It seems that Linux and WIN32 platform(NT) do not give the same 
result.
Is there an explanation?

NT (Zope 1.1.02)
-----------------------
>>> z=DateTime.DateTime('1999/02/25 0:00pm US/EASTERN')
>>> z
DateTime('1999/02/25  12:00:00 US/Eastern')
>>> float(z)
919962000.0

LINUX (Zope 1.9)
------------------------
>>> z=DateTime.DateTime('1999/02/25 0:00pm US/EASTERN')
>>> z
DateTime('1999/02/25  12:00:00 US/Eastern')
>>> float(z)
35849.7083333


FR.


François-Régis Chalaoux
Bioinformatics Group
Synthélabo Biomoléculaire
67080 Strasbourg Cedex
FRANCE
Tél : 03 88 60 87 14
Fax : 03 88 45 90 70