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
Not quite an issue but a question around documentation. Didn't find anything when looking through existing issues. Want to also acknowledge maybe RRuleSet is not the right class to use, and potentially I should just use RRule.
and i want to modify one of the events in this rule for example:
Fri, | 15 | Mar | 2024 | 9:30:00 | GMT
Mon, | 18 | Mar | 2024 | 9:30:00 | GMT // <-- this one i want to happen at 10:30:00 instead
Tue, | 19 | Mar | 2024 | 9:30:00 | GMT
Wed, | 20 | Mar | 2024 | 9:30:00 | GMT
Thu, | 21 | Mar | 2024 | 9:30:00 | GMT
Fri, | 22 | Mar | 2024 | 9:30:00 | GMT
Mon, | 25 | Mar | 2024 | 9:30:00 | GMT
Tue, | 26 | Mar | 2024 | 9:30:00 | GMT
Wed, | 27 | Mar | 2024 | 9:30:00 | GMT
Thu, | 28 | Mar | 2024 | 9:30:00 | GMT
Fri, | 29 | Mar | 2024 | 9:30:00 | GMT
Is this possible with the existing API?
EXDATE works great for canceling dates entirely, but modifying is a little more unclear to me 🤔
The text was updated successfully, but these errors were encountered:
gavin-traba
changed the title
Given an RRuleSet, how can we modify a single event in a recurrenc
Given an RRuleSet, how can we modify a single event in a recurrence
Mar 15, 2024
Hello, you can exclude a date then add a new one like so
const ruleSet = new RRuleSet()
ruleSet.rrule(RRule.fromString(event.rrule))
// Exclude this date from the rrule
ruleSet.exdate(getDatetime(eventLog.eventAt))
// Add a new date to the rrule
ruleSet.rdate(getDatetime(patchData.eventAt))
You can try this if you want to remove an exdate at some point #541
Not quite an issue but a question around documentation. Didn't find anything when looking through existing issues. Want to also acknowledge maybe RRuleSet is not the right class to use, and potentially I should just use RRule.
Given an RRuleSet like
and i want to modify one of the events in this rule for example:
Is this possible with the existing API?
EXDATE
works great for canceling dates entirely, but modifying is a little more unclear to me 🤔The text was updated successfully, but these errors were encountered: