homepage

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 davechallis
Recipients davechallis
Date 2017年12月01日.14:39:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512139169.39.0.213398074469.issue32195@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2017年12月01日 14:39:29davechallissetrecipients: + davechallis
2017年12月01日 14:39:29davechallissetmessageid: <1512139169.39.0.213398074469.issue32195@psf.upfronthosting.co.za>
2017年12月01日 14:39:29davechallislinkissue32195 messages
2017年12月01日 14:39:29davechalliscreate

AltStyle によって変換されたページ (->オリジナル) /