summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--jquery-ui-timepicker-addon.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 15fb705..c3cf645 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
jQuery Timepicker Addon
--To use this plugin you must include jQuery and jQuery UI with datepicker
+-To use this plugin you must include jQuery and jQuery UI with datepicker and slider
-Include timepicker-addon script
-now use timepicker with $('#selector').datetimepicker() or $('#selector').timepicker()
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js
index bc21e9d..0d2718f 100644
--- a/jquery-ui-timepicker-addon.js
+++ b/jquery-ui-timepicker-addon.js
@@ -701,7 +701,7 @@ $.datepicker._getDate = function(inst) {
if (tp_inst)
return (!inst.currentYear || (inst.input && inst.input.val() == '')) ?
null :
- this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay, tp_inst.hour, tp_inst.minute, tp_inst.second));
+ (new Date(inst.currentYear, inst.currentMonth, inst.currentDay, tp_inst.hour, tp_inst.minute, tp_inst.second));
else return $.datepicker._base_getDate(inst);
};