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 winton
Recipients winton
Date 2017-06-29.08:58:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498726688.6.0.920894490968.issue30802@psf.upfronthosting.co.za>
In-reply-to
Content
datetime stiptime error according to "%U" format.

Python version: 3.4.3, 2.7.13 ,3.6.0, 3.5.2


from datetime import datetime

input:
  datetime.strptime('201726', '%Y%U')

output:
  datetime.datetime(2007, 1, 1, 0, 0)
History
Date User Action Args
2017-06-29 08:58:08wintonsetrecipients: + winton
2017-06-29 08:58:08wintonsetmessageid: <1498726688.6.0.920894490968.issue30802@psf.upfronthosting.co.za>
2017-06-29 08:58:08wintonlinkissue30802 messages
2017-06-29 08:58:08wintoncreate