-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Describe the bug
Currently .weekdaysMin() and .weekdaysShort() always return formatted weekdays starting at index 0.
Expected behavior
Locale files having a weekStart property should return the weekdays ordered accordingly.
In Moment you can pass a boolean to make it locale aware.
As of 2.13.0 you can pass a bool as the first parameter of the weekday functions. If true, the weekdays will be returned in locale specific order.
Information
- Day.js Version: 1.8.28