Message325496
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). |
|
Date |
User |
Action |
Args |
2018-09-16 18:01:48 | p-ganssle | set | recipients:
+ p-ganssle, lemburg, belopolsky, serhiy.storchaka, davin, xtreak |
2018-09-16 18:01:48 | p-ganssle | set | messageid: <1537120908.33.0.956365154283.issue31635@psf.upfronthosting.co.za> |
2018-09-16 18:01:48 | p-ganssle | link | issue31635 messages |
2018-09-16 18:01:48 | p-ganssle | create | |
|