Thread: [SailfishOS] Pan Transit
View Single Post
Posts: 68 | Thanked: 147 times | Joined on Dec 2016
#6
Originally Posted by otsaloma View Post
Divide the times by 1000. The ones returned by the API seem to be milliseconds, we need seconds. I don't really know what exactly happens when you feed the formatting and filtering functions milliseconds, but correcting that seemed to fix it, I saw departures.
Thanks!! Is there anything in the code (apart from requests) that I need to change before it can be included on your builds?

For find_nearby I don't have an implementation because I don't know how to get it from the API. Would it be possible to remove this option depending on the selected provider ?

Last edited by bomo; 2017-09-25 at 06:39.
 

The Following User Says Thank You to bomo For This Useful Post: