mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 17:05:10 +00:00
Monotone-Parent: c33c456b52c6e6d4ee1f29bfd9ca57096b8d13be
Monotone-Revision: 5539e3c473023281dd04f7cb8a8fee051ac0735d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-11T19:08:58 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
+10
-11
@@ -43,17 +43,16 @@ static BOOL shouldDisplayWeekend = NO;
|
||||
self = [super init];
|
||||
if (self)
|
||||
{
|
||||
NSTimeZone *tz;
|
||||
|
||||
tz = [[self clientObject] userTimeZone];
|
||||
timeZone = [[context activeUser] timeZone];
|
||||
[timeZone retain];
|
||||
aptFormatter
|
||||
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: tz];
|
||||
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: timeZone];
|
||||
aptTooltipFormatter
|
||||
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: tz];
|
||||
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: timeZone];
|
||||
privateAptFormatter
|
||||
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: tz];
|
||||
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: timeZone];
|
||||
privateAptTooltipFormatter
|
||||
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: tz];
|
||||
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: timeZone];
|
||||
[self configureFormatters];
|
||||
componentsData = [NSMutableDictionary new];
|
||||
}
|
||||
@@ -72,6 +71,7 @@ static BOOL shouldDisplayWeekend = NO;
|
||||
[aptTooltipFormatter release];
|
||||
[privateAptFormatter release];
|
||||
[privateAptTooltipFormatter release];
|
||||
[timeZone release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
@@ -322,8 +322,8 @@ static BOOL shouldDisplayWeekend = NO;
|
||||
|
||||
- (void) setCurrentDay:(NSCalendarDate *) _day
|
||||
{
|
||||
[_day setTimeZone: [[self clientObject] userTimeZone]];
|
||||
ASSIGN(currentDay, _day);
|
||||
[_day setTimeZone: timeZone];
|
||||
ASSIGN (currentDay, _day);
|
||||
}
|
||||
|
||||
- (NSCalendarDate *) currentDay
|
||||
@@ -478,8 +478,7 @@ static BOOL shouldDisplayWeekend = NO;
|
||||
|
||||
clientObject = [self clientObject];
|
||||
|
||||
folders = [[clientObject calendarFoldersInContext: context]
|
||||
objectEnumerator];
|
||||
folders = [[clientObject calendarFolders] objectEnumerator];
|
||||
currentFolderDict = [folders nextObject];
|
||||
while (currentFolderDict)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user