Skip to content
Open repository of non-working days ics files
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Fix #3 bug with the nextMonday date Jun 23, 2017
data Update uk-scotland-nonworkingdays.ics Dec 19, 2016
i18n build May 20, 2016
src Fix #3 bug with the nextMonday date Jun 23, 2017
tests Add belgium, add tests, fix germany Feb 9, 2016
.gitignore add ignore Dec 20, 2016
.jshintrc build Feb 6, 2016
.travis.yml add travis config Jan 22, 2016
LICENSE Initial commit Jan 16, 2016
README.md Update README.md Apr 6, 2016
package.json Fix url May 20, 2016

README.md

Build Status

icsdb

Open repository of static calendar ICS files

The purpose of this package is to maintain auto-generated ics files from various sources in the data/ subfolder. For example, the build script will use a source ics file for french non working days, will translate the summaries of each events, compute list of easter dates for the next years and save the resulting ics file in the build/ subfolder, one file per language.

Using the ics files

Use the raw button on the github page to get the link, only files in the build subfolder should be used.

represented countries:

  • Belgium (1 file)
  • France (9 files)
  • Germany (19 files)
  • Ireland (1 file)
  • Switzerland (27 files)
  • United-Kingdom (3 files)
  • United-States (51 files)

Warning, this set of ICS files is suject to move to his own domain in the near future. The github url will probably remain but offical permalinks will be modified

Build ics files

dev dependencies are required to rebuild ics with the script

node src/build.js

Usage

some easter based dates require to list all dates because the icalendar spec does not include this kind of properties. the dates are generated into a RDATE ical property from year 1970 to 2100.

More generally, all recuring dates start from 1970 or more to prevent some bugs while decoding the events with various icalendar libraries.

Similar dates use the same UID property in all calendars.

To interpret these files in a program, You will be required to use a library capable of handling RRULE and RDATE properties. Below is a list of libraries that meet these constraints.

Language Libraries
javascript rrule
ical.js (support for nodejs in this fork)
Python dateutil
Ruby ri_cal
Haskell Not found
Java ical4j
Php SG-iCalendar

Others ICS resources

French school holidays

http://www.education.gouv.fr/download.php?file=http%3A%2F%2Fcache.media.education.gouv.fr%2Fics%2FCalendrier_Scolaire_Zones_A_B_C.ics

You can’t perform that action at this time.