See ChangeLog

Monotone-Parent: aaedd91765af6a097de0bc56f29320d2bff91b79
Monotone-Revision: ff5e58d678d9d35c4afef1daade54703e14d8d6a

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-03-18T21:23:05
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2011-03-18 21:23:05 +00:00
parent 2cbe4e8fc1
commit 4d4bdb446d
2 changed files with 13 additions and 5 deletions

View File

@@ -4,6 +4,10 @@
set "showCompletedTasks" earlier in order to properly fetch the
tasks upon the first refresh.
* UI/Scheduler/UIxAppointmentEditor.m
(-takeValuesFromRequest:inContext:): we no longer associate a
vTimeZone to start/end dates of an all-day vEvent.
2011-03-17 Francis Lachapelle <flachapelle@inverse.ca>
* SoObjects/Appointments/iCalEvent+SOGo.m (-quickRecord):

View File

@@ -531,12 +531,16 @@
{
iCalTimeZone *tz;
ud = [[context activeUser] userDefaults];
// Don't add a vTimeZone to all-day events
if (!isAllDay)
{
ud = [[context activeUser] userDefaults];
tz = [iCalTimeZone timeZoneForName: [ud timeZoneName]];
[[event parent] addTimeZone: tz];
[(iCalDateTime *)[event uniqueChildWithTag: @"dtstart"] setTimeZone: tz];
[(iCalDateTime *)[event uniqueChildWithTag: @"dtend"] setTimeZone: tz];
tz = [iCalTimeZone timeZoneForName: [ud timeZoneName]];
[[event parent] addTimeZone: tz];
[(iCalDateTime *)[event uniqueChildWithTag: @"dtstart"] setTimeZone: tz];
[(iCalDateTime *)[event uniqueChildWithTag: @"dtend"] setTimeZone: tz];
}
}
[event setTransparency: (isTransparent? @"TRANSPARENT" : @"OPAQUE")];