{"action":"opened","issue":{"url":"https://api.github.com/repos/OsmSharp/GTFS/issues/20","labels_url":"https://api.github.com/repos/OsmSharp/GTFS/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/OsmSharp/GTFS/issues/20/comments","events_url":"https://api.github.com/repos/OsmSharp/GTFS/issues/20/events","html_url":"https://github.com/OsmSharp/GTFS/issues/20","id":116679366,"number":20,"title":"GTFSReader can't handle Stop Times with empty Arrive and Depart times","user":{"login":"derrickcrowne","id":6208048,"avatar_url":"https://avatars.githubusercontent.com/u/6208048?v=3","gravatar_id":"","url":"https://api.github.com/users/derrickcrowne","html_url":"https://github.com/derrickcrowne","followers_url":"https://api.github.com/users/derrickcrowne/followers","following_url":"https://api.github.com/users/derrickcrowne/following{/other_user}","gists_url":"https://api.github.com/users/derrickcrowne/gists{/gist_id}","starred_url":"https://api.github.com/users/derrickcrowne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derrickcrowne/subscriptions","organizations_url":"https://api.github.com/users/derrickcrowne/orgs","repos_url":"https://api.github.com/users/derrickcrowne/repos","events_url":"https://api.github.com/users/derrickcrowne/events{/privacy}","received_events_url":"https://api.github.com/users/derrickcrowne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-13T01:20:15Z","updated_at":"2015-11-13T01:20:15Z","closed_at":null,"body":"The default TimeOfDayReader function on GTFSReader throws an exception on empty string arrive_time and depart_time values, but this is actually a valid value for stop times that are supposed to be interpolated by the consumer, as per the GTFS spec (non-timepoint stop times).\r\n\r\nIn my application I worked around this by setting GTFSReader.TimeOfDayReader to a custom function that uses a negative TimeOfDay value to signify null, but the default implementation should probably handle this as it is valid GTFS. The problem is that ArrivalTime and DepartureTime are non-nullable structs on StopTime, so it would be a breaking change to the api to make them nullable."}}