From 5e1a59243c6743d82992f4c39813dc6cea07138c Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 24 Jul 2020 15:24:40 -0400 Subject: [PATCH] fix(calendar): uncondtionally adjust all-day events dates Fixes #5045 --- SoObjects/Appointments/SOGoAppointmentFolder.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index c4b51f141..bb3e847f0 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -1611,8 +1611,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir if (records) { - if (r) - records = [self _fixupRecords: records]; + records = [self _fixupRecords: records]; ma = [NSMutableArray arrayWithArray: records]; } else