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

All-day events start date was wrong when the period was covering a DST
change.
This commit is contained in:
Francis Lachapelle
2020-10-15 14:10:04 -04:00
parent 1c4ff40d33
commit 5d1ac9db5d

View File

@@ -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++)
{