This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author heidar.rafn
Recipients heidar.rafn, vstinner
Date 2011-09-05.14:32:07
SpamBayes Score 2.099693e-06
Marked as misclassified No
Message-id <1315233188.42.0.970302318018.issue12886@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2011-09-05 14:33:08heidar.rafnsetrecipients: + heidar.rafn, vstinner
2011-09-05 14:33:08heidar.rafnsetmessageid: <1315233188.42.0.970302318018.issue12886@psf.upfronthosting.co.za>
2011-09-05 14:32:08heidar.rafnlinkissue12886 messages
2011-09-05 14:32:08heidar.rafncreate