khal icon indicating copy to clipboard operation
khal copied to clipboard

Delete future instances of a recurring event

Open willjp opened this issue 2 years ago • 2 comments

I didn't see this in the tracker so I thought I'd put it up. We can currently delete an event's entire history, or a single event from a recurring event. It would be neat if we could preserve existing history of events, but delete all future events.

I think this could be implemented by adding UNTIL to the RRULE.

willjp avatar Apr 09 '22 13:04 willjp

Sounds reasonable.

WhyNotHugo avatar Apr 09 '22 17:04 WhyNotHugo

If anybody wants to have a go at this, have a look at how and where delete_instance gets used. Delete to future could probably be done pretty analogous.

geier avatar May 09 '22 08:05 geier