Monotone-Parent: 162bfb7c82059f4e5043c0b54c30bbbb18428879

Monotone-Revision: ae07a965b153ba60cbaf086866525dee4f7416ed

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-08T17:00:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-08 17:00:45 +00:00
parent d251de7fb2
commit 19ead57cb2
5 changed files with 7 additions and 7 deletions

View File

@@ -52,7 +52,7 @@
}
- (void)setCurrentDate:(NSCalendarDate *)_date {
[_date setTimeZone:[self viewTimeZone]];
[_date setTimeZone:[[self clientObject] userTimeZone]];
ASSIGN(self->currentDate, _date);
}

View File

@@ -37,7 +37,7 @@ static BOOL shouldDisplayWeekend = NO;
{
NSTimeZone *tz;
tz = [self viewTimeZone];
tz = [[self clientObject] userTimeZone];
self->aptFormatter
= [[SOGoAptFormatter alloc] initWithDisplayTimeZone: tz];
self->aptTooltipFormatter
@@ -295,7 +295,7 @@ static BOOL shouldDisplayWeekend = NO;
- (void) setCurrentDay:(NSCalendarDate *) _day
{
[_day setTimeZone: [self viewTimeZone]];
[_day setTimeZone: [[self clientObject] userTimeZone]];
ASSIGN(self->currentDay, _day);
}

View File

@@ -46,10 +46,10 @@
canAccessApt = [self canAccessApt];
spansRange = NO;
startDate = [apt valueForKey:@"startDate"];
[startDate setTimeZone:[self viewTimeZone]];
[startDate setTimeZone:[[self clientObject] userTimeZone]];
endDate = [apt valueForKey:@"endDate"];
if(endDate != nil) {
[endDate setTimeZone:[self viewTimeZone]];
[endDate setTimeZone:[[self clientObject] userTimeZone]];
spansRange = ![endDate isEqualToDate:startDate];
}
aptDescr = [[NSMutableString alloc] init];

View File

@@ -98,7 +98,7 @@
- (NSCalendarDate *)startDate {
return [[[NSCalendarDate alloc] initWithYear:[self year] month:1 day:1
hour:0 minute:0 second:0
timeZone:[self viewTimeZone]] autorelease];
timeZone:[[self clientObject] userTimeZone]] autorelease];
}
- (NSCalendarDate *)endDate {
return nil;

View File

@@ -253,7 +253,7 @@
hour:_hour
minute:_minute
second:_second
timeZone:[self viewTimeZone]];
timeZone: [[self clientObject] userTimeZone]];
[self _setDate:d];
}
}