startofweek on another day
Closed this issue · 4 comments
mammad2c commented
How can I set calendar to start day from 'saturday'?
aaronkzhou commented
startOfWeek: 'saturday',
holtkamp commented
@mammad2c have a look at example 12 https://longbill.github.io/jquery-date-range-picker/#demo12
iuliang07 commented
This only works for 'sunday' / 'monday', it doesn't work for other days. Can this be fixed please?
holtkamp commented
@iuliang07 yes, currently only 'sunday' / 'monday' is supported.
This is also documented: https://longbill.github.io/jquery-date-range-picker/#configuration
So nothing is "broken" or should be "fixed".
If you want to extend the functionality to support other days, a Pull Request with this functionality would be welcome. Bot looking at the code, it seems not that trivial to implement.