see changelog

Monotone-Parent: 9309391aaa757ddac8064ffbf2a6d70142a30d02
Monotone-Revision: 50148283f948919bbd581d3c19d4d6fac01e16df

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2007-11-03T21:16:59
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Ludovic Marcotte 2007-11-03 21:16:59 +00:00
parent f18ee2e6b3
commit e996186a9a
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-11-03 Ludovic Marcotte <ludovic@inverse.ca>
* UI/Scheduler/UIxAppointmentEditor.m
Fixed monthly recurrences support.
2007-11-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentObject.m

View File

@ -426,6 +426,12 @@
|iCalWeekDayFriday)];
[rule setFrequency: iCalRecurrenceFrequenceDaily];
}
else if ([repeat caseInsensitiveCompare: @"MONTHLY"] == NSOrderedSame)
{
[rule setNamedValue: @"bymonthday"
to: [NSString stringWithFormat: @"%d", [aptStartDate dayOfMonth]]];
[rule setFrequency: iCalRecurrenceFrequenceMonthly];
}
else
[rule setFrequency:
(iCalRecurrenceFrequency) [rule valueForFrequency: repeat]];