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
{{ message }}
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.
Right now the first day of the week is set to Sunday as it is used in en_US. But lots of languages, spanish for example, use other day, usually Monday, as first day of the week. We already have text and dates translations/localization which is great but this new feature I think should be a must.
I've tried myself coding this feature but failed. The only thing I've managed to change is the order of the days array (S, M, T, ...) based on moment().localeData().firstDayOfWeek() replacing this code in Calendar.prototype.calendarHTML:
No not yet as we don't currently need this for Baremetrics. I also haven't heard much from other people needing this feature. I don't think it'd be super hard to do but it'd take some time to think through the best way. You'd definitely want it to be an option, though maybe a function option that doesn't automatically do anything until you explicitly tell it which day of the week it should start the week on.
Right now the first day of the week is set to Sunday as it is used in en_US. But lots of languages, spanish for example, use other day, usually Monday, as first day of the week. We already have text and dates translations/localization which is great but this new feature I think should be a must.
I've tried myself coding this feature but failed. The only thing I've managed to change is the order of the days array (S, M, T, ...) based on
moment().localeData().firstDayOfWeek()
replacing this code inCalendar.prototype.calendarHTML
:With this code:
The text was updated successfully, but these errors were encountered: