Closed vakoz2 closed 6 years ago
Setting timesel parameter in connection URI makes no difference. If I understand correctly, timesel=arrival should set time and date values of arrival, but it does for departure's. Here is a small script and result: test.sh
curl "https://api.irail.be/connections/?from=Gent-Sint-Pieters&to=Mechelen&date=280618&time=1230×el=arrival" > arrival.xml curl "https://api.irail.be/connections/?from=Gent-Sint-Pieters&to=Mechelen&date=280618&time=1230×el=departure" > departure.xml wdiff --no-common arrival.xml departure.xml | colordiff
Result
This is the repository for the stations database. I created an issue in the correct repository: https://github.com/iRail/iRail/issues/351
Setting timesel parameter in connection URI makes no difference. If I understand correctly, timesel=arrival should set time and date values of arrival, but it does for departure's. Here is a small script and result: test.sh
Result![same](https://user-images.githubusercontent.com/26071834/42045972-1e45966c-7afd-11e8-9e17-7a796676a9d7.jpg)