Monotone-Parent: 810ef9ce3bcdfe790c21a1e325ff0bd44652ee23

Monotone-Revision: 5ecadfd9f68210fc1b7659f7c0ba557d5b30068d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-19T15:01:46
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-19 15:01:46 +00:00
parent e01b8ec2c4
commit 6debca475a
2 changed files with 9 additions and 4 deletions
+4
View File
@@ -1,5 +1,9 @@
2006-10-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor
-extractQuickFieldsFromTodo:_task]): fixed to use NSNull instead
of NSNotFound.
* UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor
-iCalStringTemplate]): start and due date are now optional.
+5 -4
View File
@@ -193,8 +193,8 @@ static NSNumber *distantFutureNumber = nil;
NSCalendarDate *startDate, *dueDate;
NSArray *attendees;
NSString *uid, *title, *location, *status, *accessClass;
NSNumber *sequence, *date;
id organizer;
NSNumber *sequence;
id organizer, date;
id participants, partmails;
NSMutableString *partstates;
unsigned i, count, code;
@@ -242,12 +242,13 @@ static NSNumber *distantFutureNumber = nil;
if ([startDate isNotNull])
date = [self numberForDate: startDate];
else
date = [NSNumber numberWithInt: NSNotFound];
date = [NSNull null];
[row setObject: date forKey: @"startdate"];
if ([dueDate isNotNull])
date = [self numberForDate: dueDate];
else
date = [NSNumber numberWithInt: NSNotFound];
date = [NSNull null];
[row setObject: date forKey: @"enddate"];
if ([participants length] > 0)