Message230977
strptime() is returning the wrong date if I try to parse today's date (2014-11-10) as a string with no separators, and if I ask strpdate() to look for nonexistent hour and minute fields.
>>> datetime.datetime.strptime('20141110', '%Y%m%d').isoformat()
'2014-11-10T00:00:00'
>>> datetime.datetime.strptime('20141110', '%Y%m%d%H%M').isoformat()
'2014-01-01T01:00:00' |
|
Date |
User |
Action |
Args |
2014-11-10 22:01:31 | dgorley | set | recipients:
+ dgorley |
2014-11-10 22:01:31 | dgorley | set | messageid: <1415656891.03.0.356837597091.issue22840@psf.upfronthosting.co.za> |
2014-11-10 22:01:30 | dgorley | link | issue22840 messages |
2014-11-10 22:01:30 | dgorley | create | |
|