Message307389
Tested in python 3.6.2:
>>> import datetime
>>> datetime.datetime.min.strftime('%Y')
'1'
Expected output:
'0001'
This means that strftime and strptime aren't necessarily symmetric, e.g.:
>>> datetime.datetime.strptime(datetime.datetime.min.strftime('%Y'), '%Y')
ValueError: time data '1' does not match format '%Y' |
|
Date |
User |
Action |
Args |
2017-12-01 14:39:29 | davechallis | set | recipients:
+ davechallis |
2017-12-01 14:39:29 | davechallis | set | messageid: <1512139169.39.0.213398074469.issue32195@psf.upfronthosting.co.za> |
2017-12-01 14:39:29 | davechallis | link | issue32195 messages |
2017-12-01 14:39:29 | davechallis | create | |
|