|
|
|
|
|
by fweimer
487 days ago
|
|
ISO 8601 covers that. Weeks start on Mondays. The first week of the year has January 4th in it, which means that it sometimes starts on a Monday in the previous Gregorian year. This is why strftime has separate format specifiers for ISO year and ISO week year, %Y and %G: https://www.man7.org/linux/man-pages/man3/strftime.3.html#NO... |
|
It's juuuust close enough to ISO8601 where with a bit of forethought everything could have been easy.