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

seanbfuller’s picture

This 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.

seanbfuller’s picture

Version: 4.7.x-1.x-dev » 4.7.x-2.x-dev
Status: Active » Closed (duplicate)

Marked as a duplicate and moved to 4.7.x-2.x