fixed issue going from 11am to 12pm
This commit is contained in:
parent
6e55e5fc6a
commit
43f319fa6c
3
jquery-ui-timepicker-addon.js
vendored
3
jquery-ui-timepicker-addon.js
vendored
|
@ -249,7 +249,8 @@
|
|||
var hour = tp_inst.hour_slider.slider('value');
|
||||
var minute = tp_inst.minute_slider.slider('value');
|
||||
var second = tp_inst.second_slider.slider('value');
|
||||
var ampm = (hour < 12) ? 'AM' : 'PM';
|
||||
var ampm = (hour < 11.5) ? 'AM' : 'PM';
|
||||
hour = (hour >= 11.5 && hour < 12) ? 12 : hour;
|
||||
var hasChanged = false;
|
||||
|
||||
// If the update was done in the input field, this field should not be updated.
|
||||
|
|
Loading…
Reference in a new issue