longbill/jquery-date-range-picker

startofweek on another day

Closed this issue · 4 comments

How can I set calendar to start day from 'saturday'?

startOfWeek: 'saturday',

This only works for 'sunday' / 'monday', it doesn't work for other days. Can this be fixed please?

@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.