by ChuckMcM · 13y ago · 0 comments
Actual implementations often look more like this: http://www.epoch-calendar.com/support/getting_iso_week.html
Implementing it as a one-liner would be an interesting code golf exercise.
It is not technically a bug but it real easy to get wrong. Perhaps they should have picked sometimg other than YYYY for week years.
Maybe there's code in there that checks day of week but it's hardcoded to run every day to make the UI simpler.