mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Set the Seconds and the Milliseconds on defaultTime
This commit is contained in:
parent
58c538bec4
commit
43c276b1a4
@ -1311,6 +1311,8 @@ var datetimepickerFactory = function ($) {
|
|||||||
time = _this.strtotime(options.defaultTime);
|
time = _this.strtotime(options.defaultTime);
|
||||||
d.setHours(time.getHours());
|
d.setHours(time.getHours());
|
||||||
d.setMinutes(time.getMinutes());
|
d.setMinutes(time.getMinutes());
|
||||||
|
d.setSeconds(time.getSeconds());
|
||||||
|
d.setMilliseconds(time.getMilliseconds());
|
||||||
}
|
}
|
||||||
return d;
|
return d;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user