Author p-ganssle
Recipients belopolsky, davin, lemburg, p-ganssle, serhiy.storchaka, xtreak
Date 2018-09-16.18:01:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537120908.33.0.956365154283.issue31635@psf.upfronthosting.co.za>
In-reply-to
Content
I think this is the relevant test: https://github.com/python/cpython/blob/3.7/Lib/test/test_strptime.py#L536

The issue seems to be in `strftime` rather than in `strptime`. According to Serhiy's paste, it seems that `datetime.datetime.strftime("%G %V %w")` on BSD results in "1904 53 0", whereas on Linux it results in "1904 52 0".

I suspect the confusion *may* be related to the fact that ISO weekdays go Monday (1) to Sunday (7), where as %w goes Sunday (0) to Saturday (6).
History
Date User Action Args
2018-09-16 18:01:48p-gansslesetrecipients: + p-ganssle, lemburg, belopolsky, serhiy.storchaka, davin, xtreak
2018-09-16 18:01:48p-gansslesetmessageid: <1537120908.33.0.956365154283.issue31635@psf.upfronthosting.co.za>
2018-09-16 18:01:48p-gansslelinkissue31635 messages
2018-09-16 18:01:48p-gansslecreate