Closed (duplicate)
Project:
Event Repeat
Version:
4.7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2006 at 07:31 UTC
Updated:
5 Jan 2007 at 20:08 UTC
When you add an event with the repeat Type YEARLY it will be added DAILY !!
Maybe I also get the fix but i am not sure if it is totally correct!
orginal code from the eventrepeat.module file
//for monthly repeats, set the BYMONTHDAY parameter to the same day of the month as the start date for
//this sequence
} elseif ($repeatpattern['repeat_RRULE'][0]['FREQ'] == "MONTHLY") {
$repeatpattern['repeat_RRULE'][0]['BYMONTHDAY'] = array($BYMONTHDAY);
//for yearly repeats, set the BYMONTHDAY parameter to the same day of the month as the start date for
//this sequence, and set the BYMONTH parameter to the same month as the start date for this sequence
} elseif ($repeatpattern['repeat_RRULE'][0]['FREQ'] == <strong><u>"MONTHLY"</strong></u>) {
$repeatpattern['repeat_RRULE'][0]['BYMONTHDAY'] = array($BYMONTHDAY);
$repeatpattern['repeat_RRULE'][0]['BYMONTH'] = array($BYMONTH);
}
Replace "MONTHLY" with "YEARLY"
Comments
Comment #1
seanbfuller commentedThis was fixed in CVS HEAD, which will move to 4.7 hopefully in the next week. At that point I wil mark this issue closed.
Comment #2
seanbfuller commentedMarked as a duplicate and moved to 4.7.x-2.x