Xavier de Gaye added the comment: GNU libc says:
‘%V’ The ISO 8601:1988 week number as a decimal number (range ‘01’ through ‘53’). ISO weeks start with Monday and end with Sunday. Week ‘01’ of a year is the first week which has the majority of its days in that year; this is equivalent to the week containing the year’s first Thursday, and it is also equivalent to the week containing January 4. Week ‘01’ of a year can contain days from the previous year. The week before week ‘01’ of a year is the last week (‘52’ or ‘53’) of the previous year even if it contains days from the new year. This format was first standardized by POSIX.2-1992 and by ISO C99. So on 1905-1-1, %V should be 52 instead of 53 as printed by android; is this the only bug ? A pretty good test to find such a mistake. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26929> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com