Is there an iCalendar library available for Javascript - parser or calendar object itself?
Asked
Active
Viewed 2.5k times
5 Answers
12
Here is another one from kewisch but still up-to-date
https://github.com/mozilla-comm/ical.js/
EDIT
There is also dhtmlx scheduler for showing a calendar in HTML. http://dhtmlx.com/docs/products/dhtmlxScheduler/

Daan Mouha
- 580
- 1
- 6
- 20
8
There is also https://github.com/jakubroztocil/rrule which is more popular than the other choices here and still active at the time of writing.

Aram Kocharyan
- 20,165
- 11
- 81
- 96
7
https://github.com/kewisch/ical.js
By the guys behind Lightning for Thunderbird.

Evert
- 93,428
- 18
- 118
- 189
2
All other answers are highly outdated.
- Use this ics package for doing the ics generation
- There is some other options but this is easy and best
- You'll have to use some kind of online
RRULE
generator for therecurrenceRule
property - If you need ics readers/parsers then there is plenty of options for that.

halfer
- 19,824
- 17
- 99
- 186

Sankalp Mukim
- 52
- 2
- 4
-
1which rrule generator are you using? I'm using https://github.com/jakubroztocil/rrule but I've been running into many issues – Ryker Mar 14 '22 at 15:59
-
I had a very simple RRULE that I figured out myself from examples. Didn't need any generators.... Tell what's the issues, maybe we can help! – Sankalp Mukim Mar 19 '22 at 08:39
-
The OP asked for a parser, not an library to generate events. – david Feb 18 '23 at 12:51
0
There are a few that were easy to find on google:

Josh Mein
- 28,107
- 15
- 76
- 87
-
2[jQuery iCalendar](http://keith-wood.name/icalendar.html) will generate RFC2245 output from what I can gather, the javascript iCalendar plugin [jsicalendar](http://sourceforge.net/projects/jsicalendar/) wasn't finished. Other misc. stuff includes some [google-caja rrule code](http://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/demos/calendar/rrule-cajita.js?r=4148), the [jquery-frontier-calendar](http://code.google.com/p/jquery-frontier-calendar/), [DHX Scheduler](http://www.dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml). – user5321531 May 19 '12 at 05:08
-
The nearest I can find is [ijp iCalendar javascript parser](http://code.google.com/p/ijp/), which is not quite yet full RFC2245. – user5321531 May 19 '12 at 05:10
-
The [jQuery iCalendar plugin](http://keith-wood.name/icalendar.html) will actually parse an ical definition as well - slow off the mark but got it eventually :) – user5321531 May 19 '12 at 18:24