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

Issue when parsing ics where VALARM comes immediately after VEVENT #155

Closed
spib opened this issue Aug 14, 2017 · 1 comment
Closed

Issue when parsing ics where VALARM comes immediately after VEVENT #155

spib opened this issue Aug 14, 2017 · 1 comment

Comments

@spib
Copy link

spib commented Aug 14, 2017

  • PHP Version: 5.6.29
  • PHP date.timezone: [Country]/[City]
  • ICS Parser Version: 2.0.6
  • Mac

Description of the Issue:

This feed https://www.stanza.co/api/schedules/nhl-penguins/nhl-penguins.ics has VEVENT blocks with the VALARM immediately within it (see below). It seems that the parser does not recognize these events and skips over them. If I remove the VALARM it does recognize them.

Steps to Reproduce:

BEGIN:VEVENT
BEGIN:VALARM
TRIGGER;VALUE=DURATION:-PT30M
ACTION:DISPLAY
DESCRIPTION:Penguins vs. Blue Jackets
END:VALARM
DTSTART:20170204T000000Z
DTEND:20170204T021500Z
UID:4BzPL2SIsqazaHgBDPTNqwO7@stanza.co
SUMMARY:Penguins vs. Blue Jackets
DESCRIPTION:Penguins vs. Blue Jackets\n\nBuy tickets here: https://stza.co/~lRQk\n\nSynced via Stanza - create your own live updating calendar (https://stanza.co?events)\n\nFor questions, check out Stanza’s FAQs page: https://stanza.co/faqs
LOCATION:PPG Paints Arena, 1001 Fifth Ave, Pittsburgh, PA
STATUS:CONFIRMED
DTSTAMP:20170801T090752Z
CREATED:20170801T090752Z
LAST-MODIFIED:20170801T090752Z
TRANSP:OPAQUE
END:VEVENT
@u01jmg3 u01jmg3 self-assigned this Aug 14, 2017
@u01jmg3 u01jmg3 added this to the v2.x.x milestone Aug 15, 2017
@u01jmg3 u01jmg3 removed their assignment Aug 15, 2017
@spib
Copy link
Author

spib commented Aug 15, 2017

Thanks so much for the quick response, works great

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

No branches or pull requests

2 participants