mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-03 22:26:24 +00:00
See ChangeLog
Monotone-Parent: 4ddc37a5ea373379044dff16ec46aefe043aeadd Monotone-Revision: b41f9dce241323b7b2ba27327b93f3fa9aa45178 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-10-26T13:39:28 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#import <NGCards/iCalPerson.h>
|
||||
#import <NGCards/iCalToDo.h>
|
||||
#import <NGCards/iCalTrigger.h>
|
||||
#import <NGCards/iCalTimeZone.h>
|
||||
#import <NGCards/iCalDateTime.h>
|
||||
|
||||
#import <SoObjects/SOGo/NSDictionary+Utilities.h>
|
||||
#import <SoObjects/SOGo/SOGoUser.h>
|
||||
@@ -458,10 +460,10 @@
|
||||
|
||||
data = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[todo tag], @"component",
|
||||
(startDate? [dateFormatter formattedDate: startDate] : @""), @"startDate",
|
||||
(startDate? [dateFormatter formattedTime: startDate] : @""), @"startTime",
|
||||
(dueDate? [dateFormatter formattedDate: dueDate] : @""), @"dueDate",
|
||||
(dueDate? [dateFormatter formattedTime: dueDate] : @""), @"dueTime",
|
||||
(startDate? (id)[dateFormatter formattedDate: startDate] : (id)@""), @"startDate",
|
||||
(startDate? (id)[dateFormatter formattedTime: startDate] : (id)@""), @"startTime",
|
||||
(dueDate? (id)[dateFormatter formattedDate: dueDate] : (id)@""), @"dueDate",
|
||||
(dueDate? (id)[dateFormatter formattedTime: dueDate] : (id)@""), @"dueTime",
|
||||
([todo hasRecurrenceRules]? @"1": @"0"), @"isReccurent",
|
||||
[todo summary], @"summary",
|
||||
[todo location], @"location",
|
||||
@@ -531,10 +533,10 @@
|
||||
}
|
||||
|
||||
if (hasStartDate)
|
||||
[[todo uniqueChildWithTag: @"dtstart"] setTimeZone: tz];
|
||||
[(iCalDateTime *)[todo uniqueChildWithTag: @"dtstart"] setTimeZone: tz];
|
||||
|
||||
if (hasDueDate)
|
||||
[[todo uniqueChildWithTag: @"due"] setTimeZone: tz];
|
||||
[(iCalDateTime *)[todo uniqueChildWithTag: @"due"] setTimeZone: tz];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user