twitter bootstrap 3 - Bootstrap3 disabletimeintervals doesn't work for disabling half hours -
i use datetimepicker, , can work block hours of specific dates. can't block half hours. instance block 2018-08-28 between hours 4pm-6:30pm. not possible or there wrong script?
$('#startdate1').datetimepicker({ defaultdate: "08/28/2017 08:00:00", enableddates: ['08/28/2017','08/29/2017'], format: 'yyyy-mm-dd hh:mm:ss', sidebyside: true, disabledtimeintervals: [ [moment('2017-08-28 15:59:59'), moment('2018-04-28 18:30:00')] ] });
Comments
Post a Comment