On v4.17.43
So I have a simple picker:
$('.datetimepicker .date-range-start').datetimepicker({
format: 'YYYY-MM-DD HH:mm',
maxDate:moment().endOf('day')
})
and the default date is set in the html to something like '2016-10-31 00:00'
<input type="text" class="date-range-start" name="start" value="2016-10-31 00:00" />
But whenever you change the day with the picker, the time gets changed to the current time. How can I get it to STAY as 00:00 unless the user actually changes the time with the time part of the picker.
I found one person saying set useCurrent:'day' but thats not changing anything for me.