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

Time not disabling if mintime is in the middle of a range #669

Closed
eric-mathison opened this issue May 20, 2018 · 1 comment
Closed

Time not disabling if mintime is in the middle of a range #669

eric-mathison opened this issue May 20, 2018 · 1 comment

Comments

@eric-mathison
Copy link

I have a function used for minTime rounding the current time to the next half hour. If this time is in the middle of the start and end values in the disabletimeranges array, that time isn't disabling. The next step time is disabling though, if also in the range.

For example: current time is 17:35. My function would round the time to 18:00. Mintime then would be set to 18:00.

Say i have an array ["5:00pm", "8:00pm"] in disabledtimeranges...

The 18:00 (mintime) would be selectable and the other times, 18:30, 19:00, and 19:30 would be disabled (as I would expect).

@jonthornton
Copy link
Owner

This should be fixed in the latest release.

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