From 5d1ac9db5d834f0f23431ea09301a0fdcdbc5d63 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 15 Oct 2020 14:10:04 -0400 Subject: [PATCH] fix(calendar): fix all-day events in lists All-day events start date was wrong when the period was covering a DST change. --- UI/Scheduler/UIxCalListingActions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Scheduler/UIxCalListingActions.m b/UI/Scheduler/UIxCalListingActions.m index 58d746c3a..1866edcc0 100644 --- a/UI/Scheduler/UIxCalListingActions.m +++ b/UI/Scheduler/UIxCalListingActions.m @@ -298,7 +298,7 @@ static NSArray *tasksFields = nil; */ //NSLog(@"***[UIxCalListingActions _fixDates:] %@", [theRecord objectForKey: @"c_title"]); - if (dayBasedView || [[theRecord objectForKey: @"c_isallday"] boolValue]) + if (currentView && (dayBasedView || [[theRecord objectForKey: @"c_isallday"] boolValue])) { for (count = 0; count < 2; count++) {