See ChangeLog

Monotone-Parent: a1ae082f345f010ed0903ee2ac6873682313ca49
Monotone-Revision: 9c23081be1d521d038cc4cbf8d2034a12fca88aa

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-06-17T20:57:17
Monotone-Branch: ca.inverse.sogo
Ludovic Marcotte 2011-06-17 20:57:17 +00:00
parent 8d93ffce6d
commit d8b2d852b9
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2011-06-17 Ludovic Marcotte <lmarcotte@inverse.ca>
* SOPE/NGCards/iCalEvent.m (setAllDayWithStartDate:duration:):
We now correctly remove the duration value in case we're
"converting" the event to an all-day one. This fixes
bug #1312.
2011-06-16 Ludovic Marcotte <lmarcotte@inverse.ca>
* UI/Contacts/UIxContactFolderActions.m (importLdifData:):

View File

@ -56,6 +56,7 @@
duration: (unsigned int) days
{
NSCalendarDate *endDate;
CardElement *c;
[(iCalDateTime *) [self uniqueChildWithTag: @"dtstart"]
setDate: newStartDate];
@ -65,6 +66,10 @@
[endDate setTimeZone: [newStartDate timeZone]];
[(iCalDateTime *) [self uniqueChildWithTag: @"dtend"]
setDate: endDate];
c = [self uniqueChildWithTag: @"duration"];
if (c)
[self removeChild: c];
}
- (void) setEndDate: (NSCalendarDate *) newEndDate