mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 18:18:12 +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:
1 parent
f1d9df693c
commit
1268e2370f
2 files changed
+2
-3
No files matched your search
@@ -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