feature: Support recurring events in ChangeController
pnwpedro opened this issue · 3 comments
Feature Request
It would be nice to be able to define a recurring event in the change-control.ics
file, such as:
BEGIN:VEVENT
RRULE:FREQ=WEEKLY;INTERVAL=1
DTEND:20200511T170000Z
SUMMARY:Outside of business hours (weekend)
DTSTAMP:20200504T163641Z
DTSTART:20200508T220000Z
SEQUENCE:0
END:VEVENT
Notes
Based on the current implementation, it looks like time-window.ts ignores the rrule
properties that may exist on events.
We can see rrule
set here in the node-ical
library by calling rrule.fromString()
. This means we're getting an instance of RRule, from the rrule library.
We could potentially call rrule.after(new Date(), true) to get the next event in the recurrence, inclusive of the current date/time.
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.