iRail / hyperRail

The repo for the iRail.be webapp
https://iRail.be
Creative Commons Zero v1.0 Universal
47 stars 17 forks source link

Delayed trains which should've left don't show delay #86

Open jncn opened 10 years ago

jncn commented 10 years ago

E.g. It's 8:39, a train should have left at 8:29 but has a delay. The delay is then delay="0" instead of its actual delay.

photo

pietercolpaert commented 10 years ago

This should at this moment be fixed at https://github.com/iRail/iRail/blob/master/api/data/NMBS/connections.php#L146. If someone feels adventurous and dares to do a pull request there, feel free ;-)

I'm thinking about doing a rewrite of this route planning scraper and put it in this repository instead when I find time later this year.

jncn commented 10 years ago

Looks like this is fixed. Not sure if it's always there, but most of the time it is.

pietercolpaert commented 10 years ago

It's a "heisenbug" I'm afraid: sometimes the NMBS adds this, sometimes not...