Closed JeremiahChurch closed 2 years ago
Can you provide an example of the full schedule that you're trying to parse?
Can you provide an example of the full schedule that you're trying to parse?
Hi @pacso - certainly! the example in my initial post is a complete rule returned by exchange: RRULE:UNTIL=20221206T050000Z;
Well, this doesn't seem right. Ignoring both this gem and Exchange for a moment, if I told you to "put a schedule in your diary until 6th December 2022
" ... what exactly would you do? Weekly entries ... on some random day of the week? Something monthly? Daily perhaps?
It doesn't really make sense.
What schedule are you expecting to be created from that rule?
Exchange server likes to create recurrence rules that only include 'until' in the rules.
Example:
RRULE:UNTIL=20221206T050000Z;
Right now ice_cube returns an ArgumentError when that is passed in
IceCube::Schedule.from_ical 'RRULE:UNTIL=20221206T050000Z;'
=>ArgumentError (Invalid rule type)
Would it be possible for ice_cube to handle these rather than raise?