You can disable certain time intervals using the disabledTimeIntervals property and function. An array requires two moment objects. Another way to disable certain hours is with the disabledHours and disabledHours() properties.
What you can do is: when the user changes one of the collectors, start the callback. In this callback, you can use the date() function to get the current moment, and then set the other collector as the upper / lower bound using disabledTimeIntervals .
source share