mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-28 00:09:29 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user