Commit 9aacb4c8b54814949058f2f1061f6e0d0a22d82e
Committed by
GitHub
Merge pull request #3806 from SergioCrisostomo/datepicker-patches
Datepicker patches
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/components/date-picker/panel/Date/date-range.vue
... | ... | @@ -161,7 +161,7 @@ |
161 | 161 | leftPickerTable: `${this.selectionMode}-table`, |
162 | 162 | rightPickerTable: `${this.selectionMode}-table`, |
163 | 163 | leftPanelDate: leftPanelDate, |
164 | - rightPanelDate: new Date(leftPanelDate.getFullYear(), leftPanelDate.getMonth() + 1, leftPanelDate.getDate()) | |
164 | + rightPanelDate: new Date(leftPanelDate.getFullYear(), leftPanelDate.getMonth() + 1, 1) | |
165 | 165 | }; |
166 | 166 | }, |
167 | 167 | computed: { | ... | ... |