From a9195b254062f85bed27ac83542d2838a9e5a8c5 Mon Sep 17 00:00:00 2001 From: Dmitry Olyenyov Date: Tue, 22 Oct 2013 10:37:26 +0400 Subject: [PATCH] Fixed issue with custom dateFormat. --- src/jquery-ui-timepicker-addon.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/jquery-ui-timepicker-addon.js b/src/jquery-ui-timepicker-addon.js index de84a99..2eacb4c 100644 --- a/src/jquery-ui-timepicker-addon.js +++ b/src/jquery-ui-timepicker-addon.js @@ -1580,13 +1580,6 @@ return; } - if (typeof(date) === 'string') { - date = new Date(date); - if (!date.getTime()) { - $.timepicker.log("Error creating Date object from string."); - } - } - var tp_inst = this._get(inst, 'timepicker'); var tp_date; if (date instanceof Date) {