tplaner / When

PHP Date Recursion library
https://github.com/tplaner/When
MIT License
513 stars 96 forks source link

No error is generated if RRULE has no FREQ #94

Open MetallianFR68 opened 1 year ago

MetallianFR68 commented 1 year ago

$r->startDate(new DateTime("19980213T090000"))->rrule("COUNT=5")

This should generate an error because the passed string in rrule() has no "FREQ="

The RFC is very clear : FREQ is required and MUST be set