[Zope] Incrementing with DateTime

Sidnei da Silva sidnei@x3ng.com
Tue, 22 Oct 2002 19:37:23 -0200


On Tue, Oct 22, 2002 at 03:28:01PM -0700, Colyn Brown wrote:
| I stumbled upon a strange occurrence when I incrementally add days
| using the DateTime function. For some reason, on Sunday October 27 (it
| has to be a Sunday) of any given year, when I try to add a day to it,
| it only adds 23 hours instead of 24...causing the day to still be the
| 27th (with 23 hours added). Here is printed loop to illustrate what
| I'm talking about:
<snip>
| This seems to happen on the last Sunday in October of any year. Weird.
| Any input on this would help me out.

Seems to be the 'Daylight Savings Time'.

[]'s

-- 
Sidnei da Silva (dreamcatcher) <sidnei@x3ng.com.br>
X3ng Web Technology <http://www.x3ng.com.br>
GNU/Linux user 257852
Debian GNU/Linux 3.0 (Sid) 2.4.18 ppc

You had mail, but the super-user read it, and deleted it!