The ical attachment (.ics) works for every case except fifth or last week of the month. I'm trying to create a recurrence for fifth or last Sunday of every month. When I open the .ics file, it says "The operation failed".
This is what is being passed in the code. It works if BYDAY (week) is 1-4.
{FREQ=MONTHLY;INTERVAL=3;COUNT=2;BYDAY=5SU}
Please let me know what I'm doing wrong.
BYDAY should be -1 if it is the Fifth or Last week.
FREQ=MONTHLY;INTERVAL=1;BYDAY=-1SU