Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Improve TRIGGER DURATION parsing logic #148
TRIGGER DURATIONs can also take the form
This can be tested with any of the NHL ical schedules from this season, e.g. https://www.stanza.co/api/schedules/nhl-sabres/nhl-sabres.ics .
In : cal = ics.Calendar(requests.get('https://www.stanza.co/api/schedules/nhl-sabres/nhl-sabres.ics').text) ParserError: Could not match input to any of ['YYYY-MM-DDTHH:mm']
In : cal = ics.Calendar(requests.get('https://www.stanza.co/api/schedules/nhl-sabres/nhl-sabres.ics').text) In : cal.events.alarms.trigger Out: datetime.timedelta(0, 1800)