You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm calling it next way
$("#txt1, #txt2, #txt3, #txt4").datetimepicker({
ampm: true,
timeFormat: "h:mm TT",
numberOfMonths: 3,
stepHour: 1,
stepMinute: 1,
hourGrid: 2,
minuteGrid: 5
});
this produces me a hours grid and one of labels has value "08a". when we click on it, it values parses here
aph = parseInt(h.substring(0,2))
and without radix 10 it treats as octal number and produces us 0 wich is incorrect.
i tested this in FF4, but I don't see reason to test it under other browsers. behavior will be same I believe
Hi, guys
Plz add in line 429 https://github.com/trentrichardson/jQuery-Timepicker-Addon/blob/master/jquery-ui-timepicker-addon.js#L429
decimal radix, otherwise it case parsing error such value as "08a"
The text was updated successfully, but these errors were encountered: