[Erp5-dev] Dates divergency, even if dates are exact...

Łukasz Nowak lukasz.nowak at ventis.com.pl
Tue Mar 18 09:46:07 CET 2008


Hello,

On 2008-03-18, 09:37:35
Yoshinori Okuji <yo at nexedi.com> wrote:

(...)
> Most probably, because of a round error, since DateTime uses a
> floating point number internally. You should be able to see it in
> obj.__dict__. 

You are 99% right - in tests I'm creating dates by invoking DateTime w/o
any parameters, so I've got quite "perfect" (and not needed) timing.

> But if so, this was resolved by Alexandre some months ago. Look at a
> DateTime patch in ERP5Type.

Thanks.

Lukasz

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.



More information about the Erp5-dev mailing list