From a39c63e2d29abd0344ec182d3ffe0608137b48fb Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 5 Sep 2006 14:54:53 +0000 Subject: [PATCH] Monotone-Parent: 985fef86a89f89cae1460daa879141f78ad0b404 Monotone-Revision: ba602d8a4fa6b2a5e2a6a7ee93bca95f807d71f6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-05T14:54:53 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ UI/Scheduler/UIxCalAptListView.m | 2 ++ 2 files changed, 6 insertions(+) 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]; }