This is awesome, but basing the beginning of the week on the locale has always been bullshit. I am not saying this is your fault, I'm just saying this is a gerneral problem. e.g. I am in Canada and according to the locale info the week starts on Sunday. Well, this might be, but I start work on Monday and work until Friday, so my week starts on Monday.
Whoever came up with Sunday as the start of the week must have been related to the idiots who thought that miles and Fahrenheit are great and useful units.
The only time it makes sense to use Sunday as the start of the week is in countries in the Middle East.
Long story short, it should not be based on the locale but on a parameter.
3 Likes