From ada31e0b6d38b530bac54631ea0d197823434655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Mon, 20 Apr 2020 12:59:24 +0200 Subject: [PATCH] Increase selectable range to 20 months in calendar --- .../Resources/Private/Assets/js/components/Calendar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/Calendar.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/Calendar.vue index d72edf40..885f4051 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/Calendar.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/Calendar.vue @@ -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++;