fix(calendar): handle DST change for all-day events

This commit is contained in:
Francis Lachapelle committed 2022-02-01 17:30:26 -05:00
1 parent 96bb8b4cc2
commit 0c5a2691b0
1 file changed
+1 -1
+1 -1
View File
@@ -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];