Skip to content

Connections travel back in time #57

Description

@pietervdvn

As mentioned earlier on slack, some connections travel back in time.

For example, in [https://graph.irail.be/sncb/connections?departureTime=2019-10-31T09:23:00.000Z], the connection with id http://irail.be/connections/8813003/20191031/S11981 seems to depart one minute before it arrived.

Note that this is probably related to incorrect delays.

As reference, the data I got from the server is copied below:

@id "http://irail.be/connections/8813003/20191031/S11981"
@type "Connection"
departureStop "http://irail.be/stations/NMBS/008813003"
arrivalStop "http://irail.be/stations/NMBS/008813037"
departureTime "2019-10-31T09:25:00.000Z"
arrivalTime "2019-10-31T09:24:00.000Z"
departureDelay 420
arrivalDelay 300
direction "Nivelles"
gtfs:trip "http://irail.be/vehicle/S11981/20191031"
gtfs:route "http://irail.be/vehicle/S11981"
gtfs:pickupType "gtfs:Regular"
gtfs:dropOffType "gtfs:NotAvailable"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions