>>> from DateTime import DateTime
>>> start=DateTime('2005/10/01 01:00:00 GMT-5')
>>> print start
2005/10/01 01:00:00 GMT-5
>>> earlyStart=start.earliestTime()
>>> print earlyStart
2005/10/01
>>> print earlyStart+31
2005/11/01
Bad Example: (Here's the problem)
>>> from DateTime import DateTime
>>> start=DateTime('2005/10/01 01:00:00 US/Central')
>>> print start
2005/10/01 01:00:00 US/Central
>>> earlyStart=start.earliestTime
()
>>> print earlyStart
2005/10/01
>>> print earlyStart+31
2005/10/31 23:00:00 US/Central
I've confirmed this occurs with several of the US/ timezones (US/Pacific, US/Alaska, etc)
Can anyone help me figure out why the resulting date is coming up 1 hour short of the expected 2005/11/01 ?
Thanks!
Eric