fix #266, luxon is 1-indexed not --indexed
This commit is contained in:
parent
4c97d67bdf
commit
43e498acc5
1 changed files with 1 additions and 1 deletions
|
@ -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' }
|
||||
|
|
Loading…
Reference in a new issue