Monotone-Parent: 80db3a8d981db50d62440996464d82ff2c6cac2c

Monotone-Revision: 7a8a5ed96289617877c900b97b73ca3464764c22

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-05T23:28:18
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-05 23:28:18 +00:00
parent 3109843a6f
commit 279a428deb
2 changed files with 11 additions and 5 deletions
+3
View File
@@ -1,5 +1,8 @@
2006-10-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxAppointmentEditor.m: indicate DTSTAMP with "GMT"
as timezone.
* SoObjects/SOGo/NSCalendarDate+SOGo.m ([NSCalendarDate -adjustedDate])
([NSCalendarDate -driftedDate]): methods made useless by a better
comprehension of the NSTimeZone API...
+8 -5
View File
@@ -490,7 +490,7 @@
@"UID:%@\r\n"
@"CLASS:PUBLIC\r\n"
@"STATUS:CONFIRMED\r\n" /* confirmed by default */
@"DTSTAMP:%@\r\n"
@"DTSTAMP:%@Z\r\n"
@"DTSTART:%@\r\n"
@"DTEND:%@\r\n"
@"TRANSP:%@\r\n"
@@ -501,7 +501,7 @@
@"END:VEVENT\r\n"
@"END:VCALENDAR";
NSCalendarDate *lStartDate, *lEndDate;
NSCalendarDate *lStartDate, *lEndDate, *stamp;
NSString *template, *s;
unsigned minutes;
@@ -515,13 +515,16 @@
lStartDate = [self selectedDate];
lEndDate = [lStartDate dateByAddingYears:0 months:0 days:0
hours:0 minutes:minutes seconds:0];
stamp = [NSCalendarDate calendarDate];
[stamp setTimeZone: [NSTimeZone timeZoneWithName: @"GMT"]];
s = [self iCalParticipantsAndResourcesStringFromQueryParameters];
template = [NSString stringWithFormat:iCalStringTemplate,
[[self clientObject] nameInContainer],
[[NSCalendarDate date] iCalFormattedString],
[lStartDate iCalFormattedString],
[lEndDate iCalFormattedString],
[stamp iCalFormattedDateTimeString],
[lStartDate iCalFormattedDateTimeString],
[lEndDate iCalFormattedDateTimeString],
[self transparency],
[self iCalOrganizerString],
s];