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
Thank you for taking an interest in rrule! Please include the following in
your report:
Verify that you've looked through existing issues for duplicates before
creating a new one
i found. rrule has all() to get all occurence. before() and after() to get only 1 occurence. then if i had a rrule like {dtstart: new Date('2022-01-01'), freq: WEEKLY, count: 50} and i want to know how many occurence is there after new Date('2022-03-01'), i can only call all() and filter it by myself? since between() requires before & after at the same time, while i don't know the endDate of the rrule. maybe i need to use all() and get last item?
anyway i could get all after but seems not so convenient. can we add something like between with default start & end or firstlast like #422 so that rrule can be more convenient?
The text was updated successfully, but these errors were encountered:
Reporting an issue
Thank you for taking an interest in
rrule
! Please include the following inyour report:
creating a new one
i found. rrule has
all()
to get all occurence.before()
andafter()
to get only 1 occurence. then if i had a rrule like{dtstart: new Date('2022-01-01'), freq: WEEKLY, count: 50}
and i want to know how many occurence is there after new Date('2022-03-01'), i can only callall()
and filter it by myself? sincebetween()
requiresbefore & after
at the same time, while i don't know the endDate of the rrule. maybe i need to use all() and get last item?anyway i could get
all after
but seems not so convenient. can we add something likebetween
with default start & end orfirst
last
like #422 so that rrule can be more convenient?The text was updated successfully, but these errors were encountered: