(fix) avoid changing RRULE's UNTIL date for no reason

pull/259/head
Ludovic Marcotte 2019-09-12 14:12:03 -04:00
parent 1ee23a6bec
commit 9ed1cc4b8f
2 changed files with 1 additions and 1 deletions

1
NEWS
View File

@ -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)
------------------

View File

@ -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];
}