mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #567 from Manidos/master
Fix for picker jumping to the next month
This commit is contained in:
commit
1de55d4df2
@ -1888,6 +1888,7 @@ var DateFormatter;
|
||||
|
||||
if (!norecursion && options.defaultDate) {
|
||||
date = _this.strToDateTime(options.defaultDate);
|
||||
d.setDate(1);
|
||||
d.setFullYear(date.getFullYear());
|
||||
d.setMonth(date.getMonth());
|
||||
d.setDate(date.getDate());
|
||||
|
Loading…
Reference in New Issue
Block a user