diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index 93db91c..66e4ae9 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -1073,7 +1073,7 @@ $.datepicker._gotoToday = function(id) { var tzoffset = now.getTimezoneOffset(); // If +0100, returns -60 var tzsign = tzoffset > 0 ? '-' : '+'; tzoffset = Math.abs(tzoffset); - var tzmin = tzoffset % 60 + var tzmin = tzoffset % 60; tzoffset = tzsign + ('0' + (tzoffset - tzmin) / 60).slice(-2) + ('0' + tzmin).slice(-2); if (tp_inst._defaults.timezoneIso8609) tzoffset = tzoffset.substring(0, 3) + ':' + tzoffset.substring(3); @@ -1234,7 +1234,7 @@ $.datepicker._formatDate = function(inst, day, month, year){ return tp_inst.$input.val(); } return this._base_formatDate(inst); -} +}; //####################################################################################### // override options setter to add time to maxDate(Time) and minDate(Time). MaxDate