-
-
Notifications
You must be signed in to change notification settings - Fork 479
Description
Environment
not relevantLink to minimal reproduction
https://stackblitz.com/edit/zfcj5r4z?file=src%2FApp.vue
Steps to reproduce
set locale to cs or de
Describe the bug
With version 2.8.0 the week starts on sunday event with europian locales such as cs, de etc.
This worked correctly in 2.7.0
This is related to #2359, which make sense to make weekStartsOn independent on locale so it's always sunday-saturday (0-6).
BUT the default value should be automatic by locale. Eg. cs locale should be always 1, etc.
Now it's always 0, which doesn't make sense. Currently this change is more of an downgrade of the previous behaviour. Having to set weekStartsOn manually for every locale is a significant overhead.
The main issue with #2157 and similar was that the date on 0 changed dynamically. Sometimes it was monday, sometimes it was sunday.
Expected behavior
2.7.0
https://stackblitz.com/edit/zfcj5r4z-je9s6btf?file=src%2FApp.vue
Week starts on monday with europian locales such as cs, de etc.
Context & Screenshots (if applicable)
No response