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

RecurrenceRule Format? #924

Closed
WillTA5 opened this issue Nov 4, 2021 · 2 comments
Closed

RecurrenceRule Format? #924

WillTA5 opened this issue Nov 4, 2021 · 2 comments
Labels
Answered Resolution-Answered Question

Comments

@WillTA5
Copy link

WillTA5 commented Nov 4, 2021

I'm trying to implement the TUI Calendar and want to make use of recurring schedules while importing events from my outlook calendar.

The TUI documentation is no help at all other than letting us know that the recurrenceRule must be a string.

I know this question was asked before (#371) but I couldn't see any useful response. I attempted to implement the way that is shown in the link to Dooray!'s RFC5545 rule (https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) but no matter what I tried I couldn't get it to work.

After a lot of research I gave up and started to create a function that will manually loop through all occurrences within the recurrence range however its proving to be a tedious process and would I was wondering if anyone could shed some light on a way to get the recurrence rule that is built into TUI to work.

Thanks in advanced - A distressed and mildly annoyed developer.

@adhrinae
Copy link
Contributor

adhrinae commented Nov 5, 2021

@WillTA5
In the calendar's schedule model, recurrenceRule is just a property to save any kind of recurrence rule for developers trying to implement recurring events on their own.

So You'll need to make a rule to parse the recurrence rule and convert it into recurring events.

I understand the documentation isn't helpful for you. Someday we will improve it but... :(

If you're looking for another calendar that supports recurring events programmatically, fullcalendar might be useful.

@adhrinae adhrinae added the Answered Resolution-Answered label Nov 5, 2021
@WillTA5
Copy link
Author

WillTA5 commented Nov 5, 2021

Thank you for your response! I will progress with my function to loop through the recurrences and create individual events. Thank you for clearing it up :)

@WillTA5 WillTA5 closed this as completed Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Answered Resolution-Answered Question
Projects
None yet
Development

No branches or pull requests

2 participants