Skip to content
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

Open
oulfr opened this issue Dec 9, 2021 · 0 comments
Open

Disbaled day not working #77

oulfr opened this issue Dec 9, 2021 · 0 comments

Comments

@oulfr
Copy link

oulfr commented Dec 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant