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 karlcow
Recipients belopolsky, eric.smith, karlcow, p-ganssle, zhanying
Date 2020-07-28.08:41:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595925672.3.0.01595106854.issue40236@roundup.psfhosted.org>
In-reply-to
Content
Same on macOS 10.15.6 (19G73)


Python 3.8.3 (v3.8.3:6f8c8320e9, May 13 2020, 16:29:34) 
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.datetime.strptime("2024-0-3 00:00:00", "%Y-%W-%w %H:%M:%S")
datetime.datetime(2024, 1, 3, 0, 0)
>>> datetime.datetime.strptime("2024-1-3 00:00:00", "%Y-%W-%w %H:%M:%S")
datetime.datetime(2024, 1, 3, 0, 0)


Also 
https://pubs.opengroup.org/onlinepubs/007908799/xsh/strptime.html

note that iso8601 doesn't have this issue.
%V - ISO 8601 week of the year as a decimal number [01, 53].
https://en.wikipedia.org/wiki/ISO_week_date
History
Date User Action Args
2020-07-28 08:41:12karlcowsetrecipients: + karlcow, belopolsky, eric.smith, p-ganssle, zhanying
2020-07-28 08:41:12karlcowsetmessageid: <1595925672.3.0.01595106854.issue40236@roundup.psfhosted.org>
2020-07-28 08:41:12karlcowlinkissue40236 messages
2020-07-28 08:41:12karlcowcreate