From 43e498acc57ce621523fc5c8a59c58401fec8813 Mon Sep 17 00:00:00 2001 From: lesion Date: Sat, 6 May 2023 12:01:04 +0200 Subject: [PATCH] fix #266, luxon is 1-indexed not --indexed --- components/DateInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/DateInput.vue b/components/DateInput.vue index 563e0878..a2250a70 100644 --- a/components/DateInput.vue +++ b/components/DateInput.vue @@ -153,7 +153,7 @@ export default { if (freq === '1w' || freq === '2w') { return this.$t(`event.recurrent_${freq}_days`, { days: weekDay }).toUpperCase() } else if (freq === '1m' || freq === '2m') { - const n = Math.floor((date.day) / 7) + 1 + const n = Math.floor((date.day-1) / 7) + 1 const patterns = [ { label: this.$t(`event.recurrent_${freq}_days`, { days: date.day }), key: 'ordinal' }