bootstrap-datepicker icon indicating copy to clipboard operation
bootstrap-datepicker copied to clipboard

Smart range select [feature request]

Open michinamibia opened this issue 10 years ago • 1 comments

It would be great to have the following options for the range picker:

smartMonthSelect: boolean // If the first of the month is selected, the end date is automatically selected as the last day of that month. smartWeekSelect: boolean // If weekStart is selected, the end date is set to the end of that week. This could also be the default behavior when clicking on the week number, if that option is enabled. addXDays: number, // When a start date is selected it automatically sets the end date, x number of days forward.

michinamibia avatar Oct 08 '15 09:10 michinamibia

I am also need it ,it seem no complect it . If weekStart is selected, the end date is set to the end of that week. I think it is necessartion.so when could be ok?

Talbot3 avatar Dec 22 '16 05:12 Talbot3