dbrgn / fahrplan

A SBB/CFF/FFS commandline based timetable client. Project started at make.opendata.ch.
GNU General Public License v3.0
132 stars 20 forks source link

Passing via results in no trains found? #39

Open The-Compiler opened 5 days ago

The-Compiler commented 5 days ago

Trying the example from https://github.com/dbrgn/fahrplan/blob/6dd5a9146bb95dd14556a16ef594db24a9acbaa1/screenshot.png locally:

$ fahrplan von rapperswil nach zürich via zh stadelhofen ab 17:30    
No connections found

$ fahrplan von rapperswil nach zürich via "zh stadelhofen" ab 17:30
No connections found

$ fahrplan von rapperswil nach zürich via "zh stadelhofen"         
No connections found

$ fahrplan von rapperswil nach zürich via zh stadelhofen  
No connections found

maybe something broke with the Opendata.ch/local.ch API changes?

dbrgn commented 5 days ago

I'm not sure why that worked (it wasn't my example), but "zh stadelhofen" ist not an official name of the "Zürich Stadelhofen" train station.

If I use it as destination:

screenshot-20241019-190227

I think that's the reason.

It works fine when using the proper name:

screenshot-20241019-190310