Monotone-Parent: f4a66d9b69688e6c9d84952a098de31d07b26280

Monotone-Revision: ec19e489c1141c5a5e5a204abf81543a2ff2f463

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-30T23:10:05
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-08-30 23:10:05 +00:00
parent 91591c9bce
commit 3256d8463d
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -1,5 +1,7 @@
2006-08-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAptMailNotification.m: same as below.
* SoObjects/Appointments/SOGoAppointmentObject.m
([SOGoAppointmentObject -changeParticipationStatus:inContext:]):
set default timezone to EST, although this code should be
@@ -31,7 +31,7 @@
@implementation SOGoAptMailNotification
static NSCharacterSet *wsSet = nil;
static NSTimeZone *MET = nil;
static NSTimeZone *EST = nil;
+ (void)initialize {
static BOOL didInit = NO;
@@ -40,7 +40,7 @@ static NSTimeZone *MET = nil;
didInit = YES;
wsSet = [[NSCharacterSet whitespaceAndNewlineCharacterSet] retain];
MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
EST = [[NSTimeZone timeZoneWithAbbreviation:@"EST"] retain];
}
- (void)dealloc {
@@ -86,7 +86,7 @@ static NSTimeZone *MET = nil;
- (NSTimeZone *)viewTZ {
if (self->viewTZ) return self->viewTZ;
return MET;
return EST;
}
- (void)setViewTZ:(NSTimeZone *)_viewTZ {
ASSIGN(self->viewTZ, _viewTZ);