jkbrzt/rrule

Validation

roshanbodomlol opened this issue · 0 comments

Validating combinations of RRULE Labels

Issue
Some combinations of Labels which aren't valid, does not trigger an error.
Examples of these:

  • FREQ=MONTHLY;BYDAY=2MO,3WE;COUNT=12
  • FREQ=MONTHLY;BYMONTHDAY=10;BYDAY=-1FR;COUNT=12
  • FREQ=MONTHLY;BYSETPOS=-1;BYDAY=MO,TU,WE,TH,FR;INTERVAL=1;UNTIL=20260630T000000Z

All these rules trigger an error in Google calendar API

Expected
Strings like this should trigger a validation error