You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A monthly recurrence for the above should return 12 records, but returns 7 instead.
Between those dates (excluding the first occurrence), there are 7 months ending with 31st (january, march, may, july, august, october, december).
The text was updated successfully, but these errors were encountered:
welmor
changed the title
.all() recurrences are wrong if startDate is 31st day
.all() recurrences are wrong if startDate is 31st day of month
Jan 17, 2019
In the current scenario:
startDate: '2018-12-31'
endDate: '2019-12-31'
moment().recur('2018-12-31', '2019-12-31').every(1, 'months').except('2018-12-31').all()
A monthly recurrence for the above should return 12 records, but returns 7 instead.
Between those dates (excluding the first occurrence), there are 7 months ending with 31st (january, march, may, july, august, october, december).
The text was updated successfully, but these errors were encountered: