Merge pull request #631 from sbrunner/defaultTime

Set the Seconds and the Milliseconds on defaultTime
This commit is contained in:
Valeriy 2018-01-18 10:54:55 +05:00 committed by GitHub
commit 74389996ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1311,6 +1311,8 @@ var datetimepickerFactory = function ($) {
time = _this.strtotime(options.defaultTime);
d.setHours(time.getHours());
d.setMinutes(time.getMinutes());
d.setSeconds(time.getSeconds());
d.setMilliseconds(time.getMilliseconds());
}
return d;
};