ice_cube icon indicating copy to clipboard operation
ice_cube copied to clipboard

Week start option for week_of_month on monthly schedules

Open 2houses opened this issue 11 years ago • 1 comments

Hello, this is more a question than an issue but i can't figure out how to build this schedule:

Let's say i have an event starting on saturday and ending on sunday. I want it to repeat on the first, third and fifth weekend on the month. The tricky part is that i consider the first weekend of the month to be the one where you have the first sunday. So the first occurrence of a month can start on the last day of the previous month.

Thanks in advance for the response !

Gil

2houses avatar Feb 02 '15 12:02 2houses

We do have the "week start" option on weekly schedules: https://github.com/seejohnrun/ice_cube#weekly

It defaults to Sunday, so it normally splits the weekend in half. It looks like this could also be an option for monthly schedules, or else allow week_of_month as a validation on weekly schedules. I'm not sure which is more correct right now.

Seems like more of a feature request than a question!

avit avatar Feb 02 '15 19:02 avit