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

Failing to parse extended TZID data #10

Open
kokarn opened this issue Sep 26, 2017 · 3 comments
Open

Failing to parse extended TZID data #10

kokarn opened this issue Sep 26, 2017 · 3 comments

Comments

@kokarn
Copy link

kokarn commented Sep 26, 2017

There is an TZID property in some calendars that makes the parser go haywire.
https://tools.ietf.org/html/rfc5545

BEGIN:VEVENT
UID:qTJ-3n1sAUwFl
SUMMARY:Luleå Hockey - Örebro Hockey 4 - 3 SO
DESCRIPTION:
LOCATION:Coop Norrbotten Arena
DTSTART;TZID="+02:00":20170916T180000
DTEND;TZID=Europe/Stockholm:20170916T203000
URL:http://biljett.luleahockey.se/Home/tickets/273/False?style=shl
GEO:65.597807;22.148331
END:VEVENT
{
  UID: 'qTJ-3n1sAUwFl',
  SUMMARY: 'Luleå Hockey - Örebro Hockey 4 - 3 SO',
  DESCRIPTION: '',
  LOCATION: 'Coop Norrbotten Arena',
  'DTSTART;TZID="+02': '00":20170916T180000',
  'DTEND;TZID=Europe/Stockholm': '20170916T203000',
  URL: 'http://biljett.luleahockey.se/Home/tickets/273/False?style=shl',
  GEO: '65.597807;22.148331'
}
@adrianlee44
Copy link
Owner

Thanks for reporting this. Similar to #9, ical2json missed part of the ical specs. I'm looking to update the package.

@TimDaub
Copy link

TimDaub commented Jul 14, 2020

This is still a problem...

@sd-softdev
Copy link

I provide a soluion in pull request #53

@adrianlee44 can you review it and merge in main branch?

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

4 participants