mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-20 15:44:53 +00:00
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:
@@ -1566,8 +1566,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
|
||||
if (records)
|
||||
{
|
||||
if (r)
|
||||
records = [self _fixupRecords: records];
|
||||
records = [self _fixupRecords: records];
|
||||
ma = [NSMutableArray arrayWithArray: records];
|
||||
}
|
||||
else
|
||||
|
||||
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user