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 musically_ut
Recipients mrabarnett, musically_ut, winton
Date 2017-07-05.08:24:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499243077.9.0.531467391172.issue30802@psf.upfronthosting.co.za>
In-reply-to
Content
This case is explicitly mentioned in the documentation: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior


> 7. When used with the strptime() method, %U and %W are only used in calculations when the day of the week and the calendar year (%Y) are specified.

The documentation also says that the %u (day of the week) format specifier was added only in Python 3.6.

~
ut
History
Date User Action Args
2017-07-05 08:24:38musically_utsetrecipients: + musically_ut, mrabarnett, winton
2017-07-05 08:24:37musically_utsetmessageid: <1499243077.9.0.531467391172.issue30802@psf.upfronthosting.co.za>
2017-07-05 08:24:37musically_utlinkissue30802 messages
2017-07-05 08:24:37musically_utcreate