Set the Seconds and the Milliseconds on defaultTime

This commit is contained in:
Stéphane Brunner 2018-01-10 10:09:04 +01:00
parent 58c538bec4
commit 43c276b1a4

View File

@ -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;
}; };