Monotone-Parent: 985fef86a89f89cae1460daa879141f78ad0b404

Monotone-Revision: ba602d8a4fa6b2a5e2a6a7ee93bca95f807d71f6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-05T14:54:53
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-05 14:54:53 +00:00
parent 5eee673bd0
commit a39c63e2d2
2 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2006-09-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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.

View File

@@ -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];
}