mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 14:43:31 +00:00
See ChangeLogs.
Monotone-Parent: 4ada003303186187c511ea7faea08604da6b3db4 Monotone-Revision: 1e456d9a08ec90bd4e7fad4909eecfaa354aed5a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-08T15:48:55 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-07-12 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* iCalCalendar.m (-addTimeZone:): now returns true if the timezone
|
||||
was already defined in the calendar.
|
||||
|
||||
2011-07-11 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* iCalDailyRecurrenceCalculator.m
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
- (NSArray *) freeBusys;
|
||||
- (NSArray *) timezones;
|
||||
|
||||
- (void) addTimeZone: (iCalTimeZone *) iTZ;
|
||||
- (BOOL) addTimeZone: (iCalTimeZone *) iTZ;
|
||||
- (iCalTimeZone *) timeZoneWithId: (NSString *) tzId;
|
||||
|
||||
/* collection */
|
||||
|
||||
@@ -160,13 +160,15 @@
|
||||
return [self childrenWithTag: @"vfreebusy"];
|
||||
}
|
||||
|
||||
- (void) addTimeZone: (iCalTimeZone *) iTZ
|
||||
- (BOOL) addTimeZone: (iCalTimeZone *) iTZ
|
||||
{
|
||||
iCalTimeZone *possibleTz;
|
||||
|
||||
possibleTz = [self timeZoneWithId: [iTZ tzId]];
|
||||
if (!possibleTz)
|
||||
[self addChild: iTZ];
|
||||
|
||||
return (!possibleTz);
|
||||
}
|
||||
|
||||
- (iCalTimeZone *) timeZoneWithId: (NSString *) tzId
|
||||
|
||||
Reference in New Issue
Block a user