See ChangeLog

Monotone-Parent: 78bab40835ca73611c47298a0a8de1393cf60c03
Monotone-Revision: c6f02e683516d8272f34a92875af92b45b067767

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-10-15T18:43:28
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-10-15 18:43:28 +00:00
parent 052138a069
commit a5cafe30b6
355 changed files with 6093 additions and 7 deletions

View File

@@ -518,6 +518,25 @@
[todo setStatus: @""];
[todo setPercentComplete: @""];
}
if ([[self clientObject] isNew])
{
iCalTimeZone *tz;
tz = [iCalTimeZone timeZoneForName: [[[context activeUser] timeZone] name]];
if (hasStartDate || hasDueDate)
{
[[todo parent] addTimeZone: tz];
}
if (hasStartDate)
[[todo uniqueChildWithTag: @"dtstart"] setTimeZone: tz];
if (hasDueDate)
[[todo uniqueChildWithTag: @"due"] setTimeZone: tz];
}
}
// TODO: add tentatively