From 9ed1cc4b8fa87afa2f2e93f3ccf393095a91ef09 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 12 Sep 2019 14:12:03 -0400 Subject: [PATCH] (fix) avoid changing RRULE's UNTIL date for no reason --- NEWS | 1 + SOPE/NGCards/iCalRepeatableEntityObject.m | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index b99c9df16..97fc77e86 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,7 @@ Bug fixes - [core] honor "any authenticated user" when setting IMAP ACLs - [core] avoid exceptions for RRULE with no DTSTART - [core] make sure we handle events occurring after RRULE's UNTIL date + - [core] avoid changing RRULE's UNTIL date for no reason 4.0.8 (2019-07-19) ------------------ diff --git a/SOPE/NGCards/iCalRepeatableEntityObject.m b/SOPE/NGCards/iCalRepeatableEntityObject.m index acfa5c14a..52a0606af 100644 --- a/SOPE/NGCards/iCalRepeatableEntityObject.m +++ b/SOPE/NGCards/iCalRepeatableEntityObject.m @@ -262,7 +262,6 @@ untilDate = (NSCalendarDate *) [untilDate dateByAddingYears:0 months:0 days:0 hours:0 minutes:0 seconds:-offset]; } - [currentRule setUntilDate: untilDate]; } [fixedRules addObject: currentRule]; }