Skip to content

Commit a9195b2

Browse files
committed
Fixed issue with custom dateFormat.
1 parent 18de616 commit a9195b2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/jquery-ui-timepicker-addon.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,13 +1580,6 @@
15801580
return;
15811581
}
15821582

1583-
if (typeof(date) === 'string') {
1584-
date = new Date(date);
1585-
if (!date.getTime()) {
1586-
$.timepicker.log("Error creating Date object from string.");
1587-
}
1588-
}
1589-
15901583
var tp_inst = this._get(inst, 'timepicker');
15911584
var tp_date;
15921585
if (date instanceof Date) {

0 commit comments

Comments
 (0)