Commit abf60d81384ed840d27cff0a7eb1ccafc0a9ea71

Authored by Sergio Crisostomo
1 parent 9e375e67

Use first day of month to avoid getting higher numbers than the month has... (3773)

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/date-picker/panel/Date/date-range.vue
@@ -161,7 +161,7 @@ @@ -161,7 +161,7 @@
161 leftPickerTable: `${this.selectionMode}-table`, 161 leftPickerTable: `${this.selectionMode}-table`,
162 rightPickerTable: `${this.selectionMode}-table`, 162 rightPickerTable: `${this.selectionMode}-table`,
163 leftPanelDate: leftPanelDate, 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 computed: { 167 computed: {