forked from Paul-DS/bootstrap-year-calendar
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disbaled day not working #77
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a problem with disabled date by day:
disabledDays:[new Date(Date.parse('28-12-2021'))],
This code is not working because you do a comparaison in your code bewteen date time not bewteen date, so:
'28-12-2021 12:00' and '28-12-2021 11:59' it will be different date for your code
The text was updated successfully, but these errors were encountered: