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

add maxDate and minDate options to block dates #44

Open
alzalabany opened this issue Dec 2, 2022 · 1 comment
Open

add maxDate and minDate options to block dates #44

alzalabany opened this issue Dec 2, 2022 · 1 comment

Comments

@alzalabany
Copy link

currently, we can set blockBefore or blockAfter to block future or past. but i cannot find a way to customize blocked dates

example: block dates before next week. or block dates after yesterday.

if its possible we can add blockedDates={[ [Date(2022,11,11), Date(2022,11,15) ], ...]} to allow app to block certain dates.
or even simple blockBefore={Date(2022,11,11)} to block all slots before dec. 11th for example.

Thanks a lot. if you need a hand i can surely help.

@pohsiu
Copy link
Owner

pohsiu commented Dec 6, 2022

Hi, I strongly recommend you fork the repo and modify yourself as this pkg is no longer maintained

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

2 participants