Fix daylight savings by mliberato
This commit is contained in:
parent
fc29bd7277
commit
5ee53c21b1
4
jquery-ui-timepicker-addon.js
vendored
4
jquery-ui-timepicker-addon.js
vendored
|
@ -859,8 +859,8 @@ $.extend(Timepicker.prototype, {
|
|||
// update our input with the new date time..
|
||||
//########################################################################
|
||||
_updateDateTime: function(dp_inst) {
|
||||
dp_inst = this.inst || dp_inst,
|
||||
dt = new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay),
|
||||
dp_inst = this.inst || dp_inst;
|
||||
var dt = $.datepicker._daylightSavingAdjust(new Date(dp_inst.selectedYear, dp_inst.selectedMonth, dp_inst.selectedDay)),
|
||||
dateFmt = $.datepicker._get(dp_inst, 'dateFormat'),
|
||||
formatCfg = $.datepicker._getFormatConfig(dp_inst),
|
||||
timeAvailable = dt !== null && this.timeDefined;
|
||||
|
|
Loading…
Reference in a new issue