longbill / jquery-date-range-picker

A jQuery plugin that allows user to select a date range
MIT License
1.12k stars 579 forks source link

Hide specific day(s) from the date range picker #392

Closed maximelafarie closed 6 years ago

maximelafarie commented 6 years ago

I would like to know if it is possible to hide all Sundays from the calendar while keeping a normal behavior of the date range picker.

Here's an example : image Given the above example, I would like to hide all the right days (greyed). Then I can select 3 days : friday, saturday and monday (skip the sunday).

Here's the example I'm working on : https://jsfiddle.net/maximelafarie/dnbd01do/3/

Thank you for this awesome library, I hope what I'm asking for is possible 😉

maximelafarie commented 6 years ago

Fixed in this thread : https://stackoverflow.com/questions/47712849/ignore-sundays-from-jquery-date-range-picker