Open riccardonar opened 7 years ago
Now i have understand your idea! You mean that a disable day is a sold out day, so a range throught this day isn't bookable.
And if i want limit the arrival only on Saturday, how i can do? Perhaps you can add start day to beforeShowDay function or for compatibilty add another option to cover my case
Your demo Typical usage, hotel booking not work well after you choose a day.
In your code isValidTime check all days between start day and evaluating day and i don't understand why.
For me the right code would be: