mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #631 from sbrunner/defaultTime
Set the Seconds and the Milliseconds on defaultTime
This commit is contained in:
commit
74389996ea
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user