Skip to content

Commit 5f5ca1f

Browse files
committed
filter out WESTbahn and PKP Intercity services in local-only mode
1 parent 9cbf5f2 commit 5f5ca1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/reachableFrom.js

+2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ const reachableForDay = async (date, stationId, localTrainsOnly) => {
6868
// regional transit, we filter them out manually. this list is
6969
// probably incomplete.
7070
if (departure.line.operator?.name === 'FlixTrain') return []
71+
if (departure.line.operator?.name === 'PKP Intercity') return []
7172
if (departure.line.operator?.name === 'Snälltåget') return []
7273
if (departure.line.operator?.name === 'Urlaubs-Express') return []
74+
if (departure.line.operator?.name === 'WESTbahn') return []
7375
}
7476

7577
const { when, nextStopovers = [] } = departure

0 commit comments

Comments
 (0)