Skip to content

Commit cec460e

Browse files
committed
Fix formatting bug for 00:00
Close #742
1 parent bc66abd commit cec460e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jquery.timepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
if (timeValue) {
382382
var parsedTimeValue = parseInt(timeValue);
383383

384-
if (parsedTimeValue) {
384+
if (!isNaN(parsedTimeValue)) {
385385
timeValue = parsedTimeValue;
386386
}
387387
}

0 commit comments

Comments
 (0)