[DatePicker] maxDate and noWeekends calculation
Hello,
I want to have a datepicker that shows only weekdays and available in +3 months and -1 month. But it shouldn't count weekends while configuring the available days of the calendar.
I have a datepicker configured as below;
- $('#datepicker').datepicker({
maxDate: '+3m',
minDate: '-1m',
dateFormat: 'dd-mm-yy',
beforeShowDay: $.datepicker.noWeekends
});
This configuration still counts the weekends, so is there a way to disable weekends while calculating available days.
Thank you,
Doga