Monotone-Parent: b7715dca41945ec8af6e621dd1ca4d2406198824

Monotone-Revision: b87371b5b686da6d0d84e233c3ffbd8f8f9fbe1f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-18T18:30:37
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-10-18 18:30:37 +00:00
parent 864a888124
commit 0a4c54b063
1 changed files with 6 additions and 6 deletions

View File

@ -130,8 +130,8 @@ static NSMutableDictionary *cache;
return [[self uniqueChildWithTag: @"tzid"] value: 0];
}
- (NSCalendarDate *) _occurenceForPeriodNamed: (NSString *) pName
forDate: (NSCalendarDate *) aDate
- (NSCalendarDate *) _occurrenceForPeriodNamed: (NSString *) pName
forDate: (NSCalendarDate *) aDate
{
NSArray *periods;
iCalTimeZonePeriod *period;
@ -157,10 +157,10 @@ static NSMutableDictionary *cache;
/* FIXME, this could cause crashes when timezones are not properly
specified, but let's say it won't happen often... */
daylightOccurence = [self _occurenceForPeriodNamed: @"daylight"
forDate: date];
standardOccurence = [self _occurenceForPeriodNamed: @"standard"
forDate: date];
daylightOccurence = [self _occurrenceForPeriodNamed: @"daylight"
forDate: date];
standardOccurence = [self _occurrenceForPeriodNamed: @"standard"
forDate: date];
if (!standardOccurence)
period = (iCalTimeZonePeriod *) [self uniqueChildWithTag: @"daylight"];