diff --git a/ChangeLog b/ChangeLog index b865d14f9..e43917953 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-03 Ludovic Marcotte + + * UI/Scheduler/UIxAppointmentEditor.m + Fixed monthly recurrences support. + 2007-11-01 Wolfgang Sourdeau * SoObjects/Appointments/SOGoAppointmentObject.m diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index de4e0c472..17860371b 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -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]];