mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
Monotone-Parent: 8247ee1aea2d7155ebcb02100eb79a881ce80c12
Monotone-Revision: ff20e1ce01ed549c6dafa9c54cd70d58e18ec3ae Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-12T21:45:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
848ea24589
commit
49cea3f16a
2 files changed
+14
-6
No files matched your search
@@ -429,8 +429,8 @@
|
||||
@"CLASS:PUBLIC\r\n"
|
||||
@"STATUS:CONFIRMED\r\n" /* confirmed by default */
|
||||
@"DTSTAMP:%@Z\r\n"
|
||||
@"DTSTART:%@\r\n"
|
||||
@"DTEND:%@\r\n"
|
||||
@"DTSTART:%@Z\r\n"
|
||||
@"DTEND:%@Z\r\n"
|
||||
@"TRANSP:%@\r\n"
|
||||
@"SEQUENCE:1\r\n"
|
||||
@"PRIORITY:5\r\n"
|
||||
@@ -439,6 +439,7 @@
|
||||
@"END:VEVENT\r\n"
|
||||
@"END:VCALENDAR";
|
||||
|
||||
NSTimeZone *utc;
|
||||
NSCalendarDate *lStartDate, *lEndDate, *stamp;
|
||||
NSString *template, *s;
|
||||
unsigned minutes;
|
||||
@@ -450,13 +451,16 @@
|
||||
else {
|
||||
minutes = 60;
|
||||
}
|
||||
|
||||
utc = [NSTimeZone timeZoneWithName: @"GMT"];
|
||||
lStartDate = [self selectedDate];
|
||||
lEndDate = [lStartDate dateByAddingYears:0 months:0 days:0
|
||||
hours:0 minutes:minutes seconds:0];
|
||||
[lStartDate setTimeZone: utc];
|
||||
lEndDate = [lStartDate dateByAddingYears: 0 months: 0 days: 0
|
||||
hours: 0 minutes: minutes seconds: 0];
|
||||
|
||||
stamp = [NSCalendarDate calendarDate];
|
||||
[stamp setTimeZone: [NSTimeZone timeZoneWithName: @"GMT"]];
|
||||
|
||||
[stamp setTimeZone: utc];
|
||||
|
||||
s = [self iCalParticipantsAndResourcesStringFromQueryParameters];
|
||||
template = [NSString stringWithFormat:iCalStringTemplate,
|
||||
[[self clientObject] nameInContainer],
|
||||
|
||||
Reference in new issue
Block a user