|
@@ -117,7 +117,8 @@ export default {
|
|
|
days = currentMonthRange.concat(nextMonthRange);
|
|
|
} else {
|
|
|
const date = this.date;
|
|
|
- const firstDay = getFirstDayOfMonth(date);
|
|
|
+ let firstDay = getFirstDayOfMonth(date);
|
|
|
+ firstDay = firstDay === 0 ? 7 : firstDay;
|
|
|
const prevMonthDays = getPrevMonthLastDays(date, firstDay - 1).map(day => ({
|
|
|
text: day,
|
|
|
type: 'prev'
|