If you want a range of time :
$(function() {
$('#single_cal4').daterangepicker({
timePicker : true,
timePicker24Hour : true,
timePickerIncrement : 1,
timePickerSeconds : true,
locale : {
format : 'HH:mm:ss'
}
}).on('show.daterangepicker', function(ev, picker) {
picker.container.find(".calendar-table").hide();
});
})
If you want single time picker:
$(function() {
$('#single_cal4').daterangepicker({
timePicker : true,
singleDatePicker:true,
timePicker24Hour : true,
timePickerIncrement : 1,
timePickerSeconds : true,
locale : {
format : 'HH:mm:ss'
}
}).on('show.daterangepicker', function(ev, picker) {
picker.container.find(".calendar-table").hide();
});
})
datePicker: false
is simply not a part of the plug-in. If any use, I use keith-wood.name/timeentry.html when I need just a time picker. – Afflict