Matthew Barnett added the comment: I think the relevant standard is ISO 8601:
https://en.wikipedia.org/wiki/ISO_8601 The first day of the week is Monday. Note particularly the examples it gives: Monday 29 December 2008 is written "2009-W01-1" Sunday 3 January 2010 is written "2009-W53-7" So the first few days of January can be in the last week of the previous year! ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30802> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com