ical.js icon indicating copy to clipboard operation
ical.js copied to clipboard

length is not defined exception when parsing

Open mdissel opened this issue 7 years ago • 0 comments

I get an error that the length is not defined when parsing this ical http://www.fcassen.nl/Modules/UitslagenEnStanden/Front/ICal.ashx?id=160

I fixed it by adding the check on the curr.start object: https://github.com/heskja/MMM-CalendarWeek/blob/master/vendor/ical.js/node-ical.js#L31 if (rule.indexOf('DTSTART') === -1 && curr.start) {

mdissel avatar Jan 11 '19 15:01 mdissel