diff --git a/ChangeLog b/ChangeLog index 752f253e3..218a668b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-08-30 Wolfgang Sourdeau + * SoObjects/Appointments/SOGoAptMailNotification.m: same as below. + * SoObjects/Appointments/SOGoAppointmentObject.m ([SOGoAppointmentObject -changeParticipationStatus:inContext:]): set default timezone to EST, although this code should be diff --git a/SoObjects/Appointments/SOGoAptMailNotification.m b/SoObjects/Appointments/SOGoAptMailNotification.m index 0e1ecc819..c6cc518c1 100644 --- a/SoObjects/Appointments/SOGoAptMailNotification.m +++ b/SoObjects/Appointments/SOGoAptMailNotification.m @@ -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);