Skip to content

Commit

Permalink
Fix formatting bug for 00:00
Browse files Browse the repository at this point in the history
Close #742
  • Loading branch information
jonthornton committed Feb 7, 2021
1 parent bc66abd commit cec460e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jquery.timepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
if (timeValue) {
var parsedTimeValue = parseInt(timeValue);

if (parsedTimeValue) {
if (!isNaN(parsedTimeValue)) {
timeValue = parsedTimeValue;
}
}
Expand Down
Loading

0 comments on commit cec460e

Please sign in to comment.