From e89312355b7ca9f20c2ede319e76f1970e5c932e Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 19 Nov 2023 12:24:29 +0100 Subject: Move location-specific data and accessors to ...::HAFAS::Location This is a breaking change that affects the accessors of ...::Stop and the return type of $hafas->results in locationSearch and geoSearch mode --- bin/hafas-m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/hafas-m b/bin/hafas-m index ff13932..fb1f71b 100755 --- a/bin/hafas-m +++ b/bin/hafas-m @@ -323,7 +323,7 @@ elsif ( $opt{journey} ) { $stop->delay ? sprintf( '(%+d)', $stop->delay ) : q{}, display_occupancy( $stop->load->{FIRST} ), display_occupancy( $stop->load->{SECOND} ), - $stop->name, + $stop->loc->name, $stop->direction ? sprintf( ' → %s', $stop->direction ) : q{} ); } -- cgit v1.2.3