Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

length is not defined exception when parsing #97

Open
mdissel opened this issue Jan 11, 2019 · 0 comments
Open

length is not defined exception when parsing #97

mdissel opened this issue Jan 11, 2019 · 0 comments

Comments

@mdissel
Copy link

mdissel commented Jan 11, 2019

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) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant