4 upvotes, 1 direct replies (showing 1)
View submission: Now available for testing: wiki-configurable scheduled posts by AutoModerator
Is the ability to set posts to the first Tuesday of the month, for example, part of the advanced repeat definition yet to be detailed?
This is awesome by the way. So many possibilities.
Comment by Deimorz at 01/03/2014 at 22:29 UTC*
6 upvotes, 1 direct replies
Is the ability to set posts to the first Tuesday of the month, for example, part of the advanced repeat definition yet to be detailed?
Yes. To use the more advanced method, you still define `first`, but then use `rrule` instead of `repeat`. This uses the iCalendar RFC recurrence rule format[1], which should be able to cover anything you could possibly need.
1: http://www.ietf.org/rfc/rfc2445.txt
"First Tuesday of the month" would be done as:
rrule: "FREQ=MONTHLY;BYDAY=1TU"
Another example I've had to use it for is something like "Every Monday, Wednesday, and Saturday" where there's not an even gap between, which is:
rrule: "FREQ=WEEKLY;BYDAY=MO,WE,SA"
It's somewhat complex overall, but there are tons of examples in the RFC linked above.