Fixed datepicker only getDate
This commit is contained in:
parent
1f9e69c43c
commit
a539339bc4
1 changed files with 2 additions and 1 deletions
3
jquery-ui-timepicker-addon.js
vendored
3
jquery-ui-timepicker-addon.js
vendored
|
@ -742,7 +742,8 @@ $.datepicker._getDateDatepicker = function(target, noDefault) {
|
|||
return (!inst.currentYear || (inst.input && inst.input.val() == '')) ?
|
||||
null :
|
||||
(new Date(inst.currentYear, inst.currentMonth, inst.currentDay, tp_inst.hour, tp_inst.minute, tp_inst.second));
|
||||
else return this._base_getDateDatepicker(inst);
|
||||
|
||||
return this._base_getDateDatepicker(target, noDefault);
|
||||
};
|
||||
|
||||
//#######################################################################################
|
||||
|
|
Loading…
Reference in a new issue