Message143515
My understanding of the python documentation and the ISO 8601 standard is that the digits in a timestamp representing hours, minutes and seconds shall always be in pairs of 2 digits (hh, mm, ss), i.e. when a number is less than 10 it should be preceded by 0.
In the example I give, the minute figure is split between minutes and seconds by the python library function which I consider a bug:
datetime.datetime.strptime('20110817T1234','%Y%m%dT%H%M%S')
gives
datetime.datetime(2011, 8, 17, 12, 3, 4) |
|
Date |
User |
Action |
Args |
2011-09-05 14:33:08 | heidar.rafn | set | recipients:
+ heidar.rafn, vstinner |
2011-09-05 14:33:08 | heidar.rafn | set | messageid: <1315233188.42.0.970302318018.issue12886@psf.upfronthosting.co.za> |
2011-09-05 14:32:08 | heidar.rafn | link | issue12886 messages |
2011-09-05 14:32:08 | heidar.rafn | create | |
|