Use first day of month to avoid getting higher numbers than the month has... (3773)
This commit is contained in:
parent
9e375e6712
commit
abf60d8138
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@
|
|||
leftPickerTable: `${this.selectionMode}-table`,
|
||||
rightPickerTable: `${this.selectionMode}-table`,
|
||||
leftPanelDate: leftPanelDate,
|
||||
rightPanelDate: new Date(leftPanelDate.getFullYear(), leftPanelDate.getMonth() + 1, leftPanelDate.getDate())
|
||||
rightPanelDate: new Date(leftPanelDate.getFullYear(), leftPanelDate.getMonth() + 1, 1)
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Add table
Reference in a new issue