Closed ncapdevi closed 4 years ago
According to https://tools.ietf.org/html/rfc5545 A rrule string such as: DTSTART:20120201T093000Z\nRRULE:FREQ=WEEKLY;INTERVAL=5;UNTIL=20130130T230000Z;BYDAY=MO,FR and is the kind of string returned from the fairly popular library https://github.com/jakubroztocil/rrule with demo here https://jakubroztocil.github.io/rrule/
DTSTART:20120201T093000Z\nRRULE:FREQ=WEEKLY;INTERVAL=5;UNTIL=20130130T230000Z;BYDAY=MO,FR
However, this string won't work for two reasons,
\n
It seems like the library doesn't fully support the standard, although I may be wrong.
StrToRRuleSet exists for that purpose.
StrToRRuleSet
Here is an example on the Go Playground: https://play.golang.org/p/ZSmwJNUVnWh
According to https://tools.ietf.org/html/rfc5545 A rrule string such as:
DTSTART:20120201T093000Z\nRRULE:FREQ=WEEKLY;INTERVAL=5;UNTIL=20130130T230000Z;BYDAY=MO,FR
and is the kind of string returned from the fairly popular library https://github.com/jakubroztocil/rrule with demo here https://jakubroztocil.github.io/rrule/However, this string won't work for two reasons,
\n
format to separate the rules.It seems like the library doesn't fully support the standard, although I may be wrong.