This commit is contained in:
Hivert Quentin
2023-08-16 12:33:22 +02:00
parent f3981c4276
commit 075203a5c6
+2 -3
View File
@@ -53,12 +53,11 @@
if ([component isRecurrent] || [component recurrenceId])
{
// Skip the master event if required
recId = [component recurrenceId];
count = (recID ? 0 : 1);
count = ([component recurrenceId] ? 0 : 1);
while (!occurrence && count < max)
{
component = [components objectAtIndex: count];
recSeconds = [recId timeIntervalSince1970];
recSeconds = [[component recurrenceId] timeIntervalSince1970];
if (recSeconds == seconds)
occurrence = component;
else