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
RRule.after docs say that it returns Date or null, but the function definition specifies only Date. The function will return null if there are no dates in the recurrence after the given parameter, so the function does indeed return Date or null. The function definition should be updated to specify the correct return type.
The repro steps are fairly straightforward. Instantiate a new rrule object with a recurrence in the past. Invoke the after method with a date that's in the future. The function will return null.
Verify that you've looked through existing issues for duplicates before
creating a new one
Code sample reproducing the issue. Be sure to include all input values you
are using such as the exact RRule string and dates.
Expected output
Actual output
The version of rrule you are using
Your operating system
Your local timezone (run $ date from the command line
of the machine showing the bug)
The text was updated successfully, but these errors were encountered:
RRule.after docs say that it returns Date or null, but the function definition specifies only Date. The function will return null if there are no dates in the recurrence after the given parameter, so the function does indeed return Date or null. The function definition should be updated to specify the correct return type.
The repro steps are fairly straightforward. Instantiate a new rrule object with a recurrence in the past. Invoke the
after
method with a date that's in the future. The function will return null.creating a new one
are using such as the exact RRule string and dates.
rrule
you are using$ date
from the command lineof the machine showing the bug)
The text was updated successfully, but these errors were encountered: