You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This is through the LocaleDate extension. The firstDayOfWeek for Maldivian (dv) seems to be incorrect. More specifically, it is 7, but it should be a value from 0 to 6, inclusive. It is because weekStart is set to 7 https://github.com/iamkun/dayjs/blob/dev/src/locale/dv.js
Expected behavior
I believe the first day of the week in the Maldives is Sunday, so it should be the default value of 0 for Sunday.
Information
Day.js Version: We are using 1.10.4 but looks like it's also probably in 1.10.5.
OS: N/A
Browser: N/A
Time zone: N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
This is through the LocaleDate extension. The firstDayOfWeek for Maldivian (dv) seems to be incorrect. More specifically, it is 7, but it should be a value from 0 to 6, inclusive. It is because weekStart is set to 7 https://github.com/iamkun/dayjs/blob/dev/src/locale/dv.js
Expected behavior
I believe the first day of the week in the Maldives is Sunday, so it should be the default value of 0 for Sunday.
Information
The text was updated successfully, but these errors were encountered: