You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: