mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 20:38:50 +00:00
fix(calendar): handle tz with until in rrule (fixes #4943)
This commit is contained in:
@@ -300,7 +300,7 @@
|
||||
= [(iCalDateTime *) [self uniqueChildWithTag: @"dtstart"] dateTime];
|
||||
else if ([rrule untilDate] == nil || [refDate compare: [rrule untilDate]] == NSOrderedAscending)
|
||||
tmpDate = [self _occurrenceForDate: refDate byRRule: rrule];
|
||||
else if ([refDate compare: [rrule untilDate]] == NSOrderedDescending)
|
||||
else if ([[self _occurrenceForDate: refDate byRRule: rrule] compare: [rrule untilDate] ] == NSOrderedAscending)
|
||||
tmpDate = [rrule untilDate];
|
||||
|
||||
return tmpDate;
|
||||
|
||||
Reference in New Issue
Block a user