node-ical icon indicating copy to clipboard operation
node-ical copied to clipboard

Repeating Events hard to handle

Open shellixa opened this issue 4 years ago • 3 comments

I wish for a better way to handle repeaing events in the parser like parsing the repeating events as a seperate object and not having only one with the attributes...idk but it's hard to detect when a repeated event takes place. You only have the original wich says yea...i repeat but you have to manage it yourself..

shellixa avatar May 10 '21 08:05 shellixa

Feel free to submit a PR with improvements!

jens-maus avatar May 10 '21 09:05 jens-maus

@Logianer IF the parsed event has an RRULE attribute, then YOU must call one of the RRULE methods to get the list of future events that match that rule. node-ical does not do that... as there are different options available.

our app calls rrule.between(start_range, end_range)

sdetweil avatar Nov 15 '23 16:11 sdetweil