Skip to content
Advertisement

Fullcalendar recurring event with rrule is not working

I am using fullcalendar 4.4.0 and everything working fine except rrule. If i try with simple recurrence, it is working, but rrule recurrence not working. let me share my code

JavaScript

The code for generating event is as follows.

JavaScript

What is issue here? If anyone has experience, please help me.

I am sharing my calendar how it is being showed enter image description here

There is no recurring event here.

Example of event data:

JavaScript

Advertisement

Answer

You need to make sure you include the rrule Javascript library file, and the fullCalendar rrule plugin file, and include the plugin in your calendar config.

You also need to remove the “duration” property from your rrule, because that’s not a valid rrule option, and will cause an error.

At the time of writing, you can get the rrule file from https://cdn.jsdelivr.net/npm/rrule@2.6.2/dist/es5/rrule.min.js

Here’s a working demo: https://codepen.io/ADyson82/pen/poJWLzB

Demo code, for reference:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement