mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
fix(task): fix reminder for tasks
This commit is contained in:
@@ -107,6 +107,7 @@
|
|||||||
BOOL isAllDayStartDate, isAllDayDueDate;
|
BOOL isAllDayStartDate, isAllDayDueDate;
|
||||||
NSCalendarDate *startDate, *dueDate, *completedDate;
|
NSCalendarDate *startDate, *dueDate, *completedDate;
|
||||||
NSInteger percent;
|
NSInteger percent;
|
||||||
|
NSString *owner;
|
||||||
SOGoUserDefaults *ud;
|
SOGoUserDefaults *ud;
|
||||||
iCalDateTime *todoStartDate, *todoDueDate;
|
iCalDateTime *todoStartDate, *todoDueDate;
|
||||||
iCalTimeZone *tz;
|
iCalTimeZone *tz;
|
||||||
@@ -230,6 +231,15 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
[self setPercentComplete: @""];
|
[self setPercentComplete: @""];
|
||||||
|
|
||||||
|
//To make an ics conforme with outlook live (bouh), valarm must be the last element of vevent
|
||||||
|
//Try to set it here
|
||||||
|
o = [data objectForKey: @"alarm"];
|
||||||
|
if ([o isKindOfClass: [NSDictionary class]])
|
||||||
|
{
|
||||||
|
owner = [data objectForKey: @"owner"];
|
||||||
|
[self _setAlarm: o forOwner: owner];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSMutableDictionary *) quickRecordFromContent: (NSString *) theContent
|
- (NSMutableDictionary *) quickRecordFromContent: (NSString *) theContent
|
||||||
|
|||||||
Reference in New Issue
Block a user