Commit 3921df38 authored by Sebastian's avatar Sebastian
Browse files

README: repeating.exclude

parent 7f1494c3
......@@ -338,7 +338,8 @@ event.repeating({
until: new Date('Jan 01 2014 00:00:00 UTC'),
byDay: ['su', 'mo'], // repeat only sunday and monday
byMonth: [1, 2], // repeat only in january und february,
byMonthDay: [1, 15] // repeat only on the 1st and 15th
byMonthDay: [1, 15], // repeat only on the 1st and 15th
exclude: [new Date('Dec 25 2013 00:00:00 UTC')] // exclude these dates
});
```
......
......@@ -312,7 +312,7 @@ var ICalEvent = function(_data, calendar) {
throw '`repeating.byDay` contains invalid value `' + s[2] + '`!';
}
data.repeating.byDay.push(s[1]+s[2]);
data.repeating.byDay.push(s[1] + s[2]);
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment