mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user