mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-05 19:45:26 +00:00
Monotone-Parent: bd80ab1b5ef73a7bb7780c2f592816cd299c35b8
Monotone-Revision: 7dbd8709dbd0912d12d3ffd82df6d64d900a28b6 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-01-07T16:44:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -310,12 +310,13 @@
|
||||
if (untilDate)
|
||||
{
|
||||
// The until date must match the time of the start date
|
||||
untilDate = [untilDate dateByAddingYears:0
|
||||
months:0
|
||||
days:0
|
||||
hours:[[event startDate] hourOfDay]
|
||||
minutes:[[event startDate] minuteOfHour]
|
||||
seconds:0];
|
||||
untilDate = [untilDate initWithYear: [untilDate yearOfCommonEra]
|
||||
month: [untilDate monthOfYear]
|
||||
day: [untilDate dayOfMonth]
|
||||
hour: [[event startDate] hourOfDay]
|
||||
minute: [[event startDate] minuteOfHour]
|
||||
second: 0
|
||||
timeZone: [untilDate timeZone]];
|
||||
[rule setUntilDate: untilDate];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user