From 0c5a2691b082ab5fae53dabac81748aa377073da Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 1 Feb 2022 17:30:26 -0500 Subject: [PATCH] fix(calendar): handle DST change for all-day events --- SoObjects/SOGo/CardElement+SOGo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/CardElement+SOGo.m b/SoObjects/SOGo/CardElement+SOGo.m index 75008936f..808c3d07d 100644 --- a/SoObjects/SOGo/CardElement+SOGo.m +++ b/SoObjects/SOGo/CardElement+SOGo.m @@ -60,7 +60,7 @@ userTZOffset = [userTZ secondsFromGMTForDate: date]; if (dateTZOffset != userTZOffset) date = [date dateByAddingYears: 0 months: 0 days: 0 - hours: 0 minutes: 0 + hours: 1 minutes: 0 seconds: (dateTZOffset - userTZOffset)]; [date setTimeZone: userTZ];