Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Disabled dates get shifted when firstDay is 1 #18

Closed
NateWr opened this issue Apr 13, 2015 · 0 comments
Closed

Disabled dates get shifted when firstDay is 1 #18

NateWr opened this issue Apr 13, 2015 · 0 comments
Labels

Comments

@NateWr
Copy link
Owner

NateWr commented Apr 13, 2015

If the datepicker's firstDay setting is set to 1 (or presumably anything other than 0), it causes an error with disabled weekdays on the edit booking form. When opening the booking form from the edit link in the admin panel, the disabled weekday is offset by 1 (or presumably the value of firstDay). Closing the booking form completely then re-opening it from the edit button causes the disabled weekday to be offset again, with the offset value compounding with each open/close of the entire booking form.

@NateWr NateWr added the bug label Apr 13, 2015
@NateWr NateWr closed this as completed in f7fc2a9 Apr 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant