JavaScript library for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
3.27k
stars
506
forks
source link
rrule do not handle day not existent in the next month in monthly frequency #569
Closed
daniloab closed 1 year ago
Hi, there. I have a simple script that:
I expect the return for the next months, even if a day does not exist in the next month, to be 4 dates.
But, when the start date is at the end of the month, I have some problems.
With this script, I identified that if the start day not existing in the next month the rrule ignores it.
Is there a way to handle this? some config?
the date start and date end generated:
Expected output
The expected output is an array of four dates from January to april
Actual output
Today, is ignoring February and adding may
The version of
rrule
you are using2.7.2
Your operating system
macos
Your local timezone (run
$ date
from the command line of the machine showing the bug)Tue Feb 28 19:45:48 -03 2023