Message118673
It looks like you have just discovered the joys of daylight saving time. The problem with your example is that datetime(2003,4,6,2,58,17) is not a valid time in your timezone (most likely you are in the US). In the US, prior to 2007, the clocks moved 1 hour ahead at 2AM on the first Sunday in April. An thus 1:59 AM was followed by 3:00 AM and 2:58:17 never occurred.
See the following link for detailed discussion of these issues:
http://docs.python.org/dev/py3k/library/datetime.html#tzinfo-objects |
|
Date |
User |
Action |
Args |
2010-10-14 15:37:32 | belopolsky | set | recipients:
+ belopolsky, barnburnr |
2010-10-14 15:37:32 | belopolsky | set | messageid: <1287070652.68.0.205655495576.issue10102@psf.upfronthosting.co.za> |
2010-10-14 15:37:31 | belopolsky | link | issue10102 messages |
2010-10-14 15:37:30 | belopolsky | create | |
|