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:
Francis Lachapelle
2009-01-07 16:44:24 +00:00
parent 921ecc3abe
commit 97cedb6f85
+7 -6
View File
@@ -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];
}
}