See ChangeLog
Monotone-Parent: a1ae082f345f010ed0903ee2ac6873682313ca49 Monotone-Revision: 9c23081be1d521d038cc4cbf8d2034a12fca88aa Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-06-17T20:57:17 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
8d93ffce6d
commit
d8b2d852b9
|
@ -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>
|
2011-06-16 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||||
|
|
||||||
* UI/Contacts/UIxContactFolderActions.m (importLdifData:):
|
* UI/Contacts/UIxContactFolderActions.m (importLdifData:):
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
duration: (unsigned int) days
|
duration: (unsigned int) days
|
||||||
{
|
{
|
||||||
NSCalendarDate *endDate;
|
NSCalendarDate *endDate;
|
||||||
|
CardElement *c;
|
||||||
|
|
||||||
[(iCalDateTime *) [self uniqueChildWithTag: @"dtstart"]
|
[(iCalDateTime *) [self uniqueChildWithTag: @"dtstart"]
|
||||||
setDate: newStartDate];
|
setDate: newStartDate];
|
||||||
|
@ -65,6 +66,10 @@
|
||||||
[endDate setTimeZone: [newStartDate timeZone]];
|
[endDate setTimeZone: [newStartDate timeZone]];
|
||||||
[(iCalDateTime *) [self uniqueChildWithTag: @"dtend"]
|
[(iCalDateTime *) [self uniqueChildWithTag: @"dtend"]
|
||||||
setDate: endDate];
|
setDate: endDate];
|
||||||
|
|
||||||
|
c = [self uniqueChildWithTag: @"duration"];
|
||||||
|
if (c)
|
||||||
|
[self removeChild: c];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setEndDate: (NSCalendarDate *) newEndDate
|
- (void) setEndDate: (NSCalendarDate *) newEndDate
|
||||||
|
|
Loading…
Reference in New Issue