fixed issue going from 11am to 12pm

master
Trent Richardson 2010-10-01 10:00:36 -04:00
parent 6e55e5fc6a
commit 43f319fa6c
1 changed files with 2 additions and 1 deletions

View File

@ -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.