Unverified Commit 8a6e430d authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

EFA: Fix stop constructor (and thus efa -v / -V)

parent a5cb61ba
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
git HEAD

    * EFA: Fix full_route creating route elements with invalid data
    * efa-m: Fix -v / -V (as a consequence of the fix above)

Travel::Status::DE::VRR 1.23 - Fri Nov 24 2023

    * efa-m: Do not show free-text messages by default. Use the newly
+4 −4
Original line number Diff line number Diff line
@@ -375,10 +375,10 @@ sub parse_route {
		push(
			@ret,
			Travel::Status::DE::EFA::Stop->new(
				arr_date => sprintf_date( $dates[0] ),
				arr_time => sprintf_time( $times[0] ),
				dep_date => sprintf_date( $dates[-1] ),
				dep_time => sprintf_time( $times[-1] ),
				arr_date => scalar sprintf_date( $dates[0] ),
				arr_time => scalar sprintf_time( $times[0] ),
				dep_date => scalar sprintf_date( $dates[-1] ),
				dep_time => scalar sprintf_time( $times[-1] ),
				name     => $e->getAttribute('name'),
				name_suf => $e->getAttribute('nameWO'),
				platform => $e->getAttribute('platformName'),