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
We have a rrule string that we want to add to an event.
At the moment this doesn't seem possible because the semicolons in the rrule strings are escaped with a backslash, invalidating the rrule.
Here is an example:
importicalendarrrule_str="FREQ=YEARLY;INTERVAL=10;BYMONTH=12"event=Event()
# Both result in the same outputevent.add("rrule", rrule_str)
event["rrule"] =rrule_str
Calling .to_ical escapes the rrule: RRULE:FREQ=YEARLY\;INTERVAL=10\;BYMONTH=12, making it invalid.
I think something like event.add_unescaped would be helpful.
The text was updated successfully, but these errors were encountered:
We have a rrule string that we want to add to an event.
At the moment this doesn't seem possible because the semicolons in the rrule strings are escaped with a backslash, invalidating the rrule.
Here is an example:
Calling
.to_ical
escapes the rrule:RRULE:FREQ=YEARLY\;INTERVAL=10\;BYMONTH=12
, making it invalid.I think something like
event.add_unescaped
would be helpful.The text was updated successfully, but these errors were encountered: