From 3256d8463dea33b2523636a314cf4ad191731d13 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 30 Aug 2006 23:10:05 +0000 Subject: [PATCH] Monotone-Parent: f4a66d9b69688e6c9d84952a098de31d07b26280 Monotone-Revision: ec19e489c1141c5a5e5a204abf81543a2ff2f463 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-30T23:10:05 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 2 ++ SoObjects/Appointments/SOGoAptMailNotification.m | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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);