diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-02-02 13:46:54 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-02-02 13:46:54 +0100 |
commit | 43f9af3c356a0607e3fcc121311f11bf57746e2b (patch) | |
tree | 2a9677d96767668c36018f85d54379f2ba6b85a1 /lib/Travel/Routing | |
parent | 16cc00fc542b6c7b62c1e5a6f4ce61918ffc6473 (diff) |
Add -a / --arrival option
Diffstat (limited to 'lib/Travel/Routing')
-rw-r--r-- | lib/Travel/Routing/DE/DBRIS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Routing/DE/DBRIS.pm b/lib/Travel/Routing/DE/DBRIS.pm index fceec0f..f596bfd 100644 --- a/lib/Travel/Routing/DE/DBRIS.pm +++ b/lib/Travel/Routing/DE/DBRIS.pm @@ -68,7 +68,7 @@ sub new { abfahrtsHalt => $conf{from}->id, ankunftsHalt => $conf{to}->id, anfrageZeitpunkt => $dt->strftime('%Y-%m-%dT%H:%M:00'), - ankunftSuche => 'ABFAHRT', + ankunftSuche => $conf{arrival} ? 'ANKUNFT' : 'ABFAHRT', klasse => $conf{first_class} ? 'KLASSE_1' : 'KLASSE_2', produktgattungen => \@mots, reisende => [ |