ical question

I am working on a small app and I would like to connect to the ical feed and parse the data but I have noticed something and sort of need an understanding. I am using a library I found on github, ical_parser.js, to parse the data. I have noticed the following:
In the nzbdrone.ics file one would see the following lines for shows -

DTEND:20140430T010000Z
DTSTAMP:20140506T154936Z
DTSTART:20140430T000000Z

The ical_parser.js and a couple of others I have tried do not seem to return a time but if I do the following:

DTEND;TZID=Central Standard Time:20140430T010000Z
DTSTAMP:20140506T154936Z
DTSTART;TZID=Central Standard Time:20140430T000000Z

A time is then returned. I am not asking anyone to modify or tell me how another script functions. I am just curious about the changes and why the times zone is not already known to nzbdrone or is it left to the device that is parsing the data? if so, is it possible to simply add time zone information to the ical?

Just curious,

Jerry

Why use the iCal and not the API directly?

drone returns all times from the API as UTC, the browser deals with this automatically and displays it in your timezone, shouldn’t usually be a big deal for any client really, UTC is just easier to return, it comes from trakt that way and we send it out and it gets handled, except by ical_parser.js :frowning:

good point. will use the api. thanks!