diff --git a/ChangeLog b/ChangeLog index afa71f055..75e9e759d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-09-05 Wolfgang Sourdeau + * UI/Scheduler/UIxCalAptListView.m ([UIxCalAptListView -currentStartTime]) + ([UIxCalAptListView -currentEndTime]): initialize the resulting + dates timezone with [self viewTimeZone]. + * UI/SOGoUI/UIxComponent.m ([UIxComponent -init]): new "viewTimeZone" ivar destined to hold an instance of the user's timezone in memory. diff --git a/UI/Scheduler/UIxCalAptListView.m b/UI/Scheduler/UIxCalAptListView.m index d75bcc842..dba449a98 100644 --- a/UI/Scheduler/UIxCalAptListView.m +++ b/UI/Scheduler/UIxCalAptListView.m @@ -144,6 +144,7 @@ date = [NSCalendarDate dateWithTimeIntervalSince1970: [[currentAppointment objectForKey: @"startdate"] intValue]]; + [date setTimeZone: [self viewTimeZone]]; return [[self itemDateFormatter] stringForObjectValue: date]; } @@ -155,6 +156,7 @@ date = [NSCalendarDate dateWithTimeIntervalSince1970: [[currentAppointment objectForKey: @"enddate"] intValue]]; + [date setTimeZone: [self viewTimeZone]]; return [[self itemDateFormatter] stringForObjectValue: date]; }