Increase selectable range to 20 months in calendar

This commit is contained in:
Björn Fromme
2020-04-20 12:59:24 +02:00
parent f103ea21c7
commit ada31e0b6d
@@ -73,7 +73,7 @@
const months = [];
let month = this.startDate.month();
let year = this.startDate.year();
for (let i = 1; i <= 12; i++) {
for (let i = 1; i <= 20; i++) {
months.push(dayjs().set('year', year).set('month', month));
if (month < 12) {
month++;