mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-22 07:14:21 +00:00
Monotone-Parent: 4aae300745a9f879663e6201551f31afbe4aa8ff
Monotone-Revision: 72e46ed049fae790f8f694c94e8ab035260d1289 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-12-12T16:29:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
c46d504236
commit
53ab38a3c1
2 files changed
+14
-3
No files matched your search
@@ -89,13 +89,18 @@
|
||||
forDate: date];
|
||||
standardOccurence = [self _occurenceForPeriodNamed: @"standard"
|
||||
forDate: date];
|
||||
if ([date earlierDate: daylightOccurence] == date
|
||||
|| [date earlierDate: standardOccurence] == standardOccurence)
|
||||
|
||||
if (!standardOccurence)
|
||||
period = (iCalTimeZonePeriod *) [self uniqueChildWithTag: @"daylight"];
|
||||
else if (!daylightOccurence)
|
||||
period = (iCalTimeZonePeriod *) [self uniqueChildWithTag: @"standard"];
|
||||
else if ([date earlierDate: daylightOccurence] == date
|
||||
|| [date earlierDate: standardOccurence] == standardOccurence)
|
||||
period = (iCalTimeZonePeriod *) [self uniqueChildWithTag: @"standard"];
|
||||
else
|
||||
period = (iCalTimeZonePeriod *) [self uniqueChildWithTag: @"daylight"];
|
||||
|
||||
NSLog (@"chosen period: '%@'", [period tag]);
|
||||
// NSLog (@"chosen period: '%@'", [period tag]);
|
||||
|
||||
return period;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user