tempusdominus / bootstrap-4

Tempus Dominus Bootstrap 4 Datetime Picker
https://getdatepicker.com/5-4/
MIT License
611 stars 239 forks source link

Issue 00:00 - disabledTimeIntervals: [[moment({ h: 0 }), moment({ h: 8 })]] #367

Open SvenDS opened 3 years ago

SvenDS commented 3 years ago

00:00 is still enabled... Even when I pick h:0, m:0

$('#time_picker').datetimepicker({ format: 'LT', locale: 'nl-be', stepping: 10, disabledTimeIntervals: [[moment({ h: 0, m:0 }), moment({ h: 8 })]] });