Repeat events not working

Support for the WordPress Calendar plugin
craigkaten
Posts: 2
Joined: Wed Apr 10, 2019 9:56 pm

Repeat events not working

Unread post by craigkaten » Wed Apr 10, 2019 10:11 pm

HI

I have 2 events that are set to first Tuesday of each month which are working fine
I have created a new event "VIC Get Together" set to last Tuesday of each month and it only shows on calendar when there are 5 Tuesdays in the month

Setup is the same for the 2 First Tuesday events as the new Last Tuesday event

These repeat correctly
WA Get Together 2011-01-04 2011-01-04 19:00:00 Monthly (day) Forever
NSW Get Together 2011-01-04 2011-01-04 18:30:00 Monthly (day) Forever

This new event wont repeat every month
VIC Get Together 2019-04-30 2019-04-30 20:00:00 Monthly (day) Forever


IE
April 30th
May nothing
June nothing
July 30th
Aug nothing
Sept nothing
Oct 29th
Nov nothing
Dec 31st

User avatar
Kieran
Posts: 2060
Joined: Sat May 26, 2007 1:55 pm
Location: London
Contact:

Re: Repeat events not working

Unread post by Kieran » Sat Apr 27, 2019 9:18 pm

Unfortunately this is exactly how it is designed to work; the option should really be read

Code: Select all

Repeat every Nth Tuesday, where N is the count of Tuesdays when the event first occurred
This means that is isn't possible to choose the "last" of any day in the month for a repeat because, as you point out, some months last will be 5, others 4.

This is the kind of thing I'd like to fix in the future with a move to a different way of representing events behind the scenes (see RRULE in iCalendar spec), but for now we're stuck with the way it is.

I've seen folks working around this by creating more than one entry for the same event to fill in the blanks. In your case, in addition to the one on the 5th Tuesday which covers a fair few months, you'd need a further 3 events;

1) Covering May-June, 4th Tuesday of May, repeating once monthly (day)
2) Covering Aug-Sep, 4th Tuesday of Aug, repeating once monthly (day)
3) Covering Nov, just a normal non-repeating event for the 4th Tuesday

craigkaten
Posts: 2
Joined: Wed Apr 10, 2019 9:56 pm

Re: Repeat events not working

Unread post by craigkaten » Sat Apr 27, 2019 9:59 pm

Thanks for the reply Kieran
re your work around
Upon investigation I have found that someone had actually done this in the past with another event
I will give it a try
Cheers
Craig

Post Reply