Hi everybody, testing the DateTime module...
from DateTime import DateTime d1 = DateTime('2000/04/03 US/Eastern') d2 = DateTime('2000/04/03 GMT+1') d1 - 1 DateTime('2000/04/01 22:59:60 US/Eastern') d2 - 1 DateTime('2000/04/02')
This is because: - the DateTime module is aware of "Daylight Saving Time" in US/Eastern (so 2000/04/02 has only 23 hours in US/Eastern) - and the integer 1 always represents 24 hours This is given problems with the Calendar Tag, if you're using it in US/Eastern the Calendar Tag will show some wrong dates. The question is: in "<aDateTime> + 1", ¿the integer 1 should be one day or 24 hours? And a second question, There is another DateTime module for python called mxDateTime which seems to be better, why Zope doesn't use this one? Thanks, David