fix(calendar): fix all-day events in lists

All-day events start/end date were wrong when the period was covering a
DST change.
This commit is contained in:
Francis Lachapelle committed 2020-10-13 22:37:22 -04:00
1 parent f1d9df693c
commit 1268e2370f
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -286,7 +286,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++)
{