bootstrap-datetimepicker
bootstrap-datetimepicker copied to clipboard
Ability to disable date selection and select only time
Is there a way to do this ? an option like pickDate: false would be great in case it's a time selection field
I think this is an important missing feature.
after some hacks, at the moment i use this:
$(this).datetimepicker({
format: 'hh:ii',
minuteStep: 15,
autoclose: true,
minView: 0,
maxView: 1,
startView: 1,
});
$(this).data('datetimepicker').picker.addClass('timepicker');
.timepicker{
overflow: hidden;
}
.timepicker .datetimepicker-hours,
.timepicker .datetimepicker-minutes > table{
margin-top: -40px;
}
Ya , It is essential feature to select only time or date.
Yes, this would be great, @KernelFolla thank you for workaround :+1:
Yes, it is "must be" feature. I need that.
No one get it? I've tried changing "timepicker" to display:none, but i cant take the date that i selected without finish the process.
Trying... trying...
cheer! +1
+1