Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set recurrence #41

Open
jaredlt opened this issue May 11, 2021 · 1 comment
Open

Ability to set recurrence #41

jaredlt opened this issue May 11, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@jaredlt
Copy link
Owner

jaredlt commented May 11, 2021

eg. Monthly for 3 months, or monthly until {date}

There are lots of variations here.

This is partly captured by Stanislav's RRULE PR, with some additional context from me.

In general I think having an option for recurring events is a great idea.

However, I see that Yahoo also supports recurring events and ideally I would like to think about a solution that covers all possible providers. Annoyingly, it looks like Yahoo's implementation is different to RRULE but I would like to try and abstract away those differences to give a single interface for users of the gem.

Using RRULE directly is a bit of a double edged sword. On the one hand, you get the full flexibility of all the complex recurrence scenarios you could want. On the other, it relies on users having to learn how to use this gem and understanding the RRULE iCal RFC.

I'm thinking if perhaps exposing the frequency and count as their own arguments would give us more flexibility here? But equally I can see this getting complicated and I'd prefer not to reinvent the RRULE RFC which I'm sure people smarter than me spent way more time on! I'm thinking about scenarios like: Every 2 weeks on Tuesdays and Thursdays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant