tplaner / When

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

Support for DTEND #56

Closed Blindmikey closed 3 years ago

Blindmikey commented 8 years ago

Is there support for ( or planned for ) DTEND?

eg) 11th of the month - 13th every month for 4 months

Would be:

DTSTART:20160511T000000
DTEND:20160513T000000
RRULE:FREQ=MONTHLY;BYMONTHDAY=11;INTERVAL=1;COUNT=4

But I can't find where I can establish a DTEND in this class.

Any help is greatly appreciated, very handy class.

Best, -M

tplaner commented 3 years ago

Unfortunately there is no information regarding how DTEND is supposed to interact with RRULE. If you know of how other libraries handle this or can find a specification it could be considered for future versions.