Monotone-Parent: 4c0fc5d33efdd8411e429def927e91bded7ff3d5

Monotone-Revision: 80883dcf3bf8ccef4d22a65b5963c363db031c0c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-09-20T19:29:32
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-09-20 19:29:32 +00:00
parent 650ec5156e
commit cb78625e97
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-09-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* iCalToDo.m (-setCompleted:): (hack) when invoked with a nil
argument, we set the status "back" to "IN-PROCESS" as we otherwise
may end up with a "COMPLETED" task without a completion date.
2011-07-12 Francis Lachapelle <flachapelle@inverse.ca>
* iCalCalendar.m (-addTimeZone:): now returns true if the timezone

View File

@ -72,7 +72,10 @@
{
[(iCalDateTime *) [self uniqueChildWithTag: @"completed"]
setDate: newCompletedDate];
[self setStatus: @"COMPLETED"];
if (newCompletedDate)
[self setStatus: @"COMPLETED"];
else
[self setStatus: @"IN-PROCESS"];
}
- (NSCalendarDate *) completed