Is there a way to prevent the default date from selecting a disabled date? Here's what I have: A default date is set as tomorrow, and dates in a JSON file are disabled, however.. if tomorrow is disabled, it will still be "selected" because it gets defaulted to.
$('.datetime-picker').datetimepicker({
defaultDate: moment().tz('America/Toronto').add('days', 1),
disabledDates: disabledDatesJSON,
});