Commit c47f5e57 authored by Birte Friesel's avatar Birte Friesel
Browse files

Merge pull request 'Use MOTIS `tripShortName` for `train_no`' (#9) from...

Merge pull request 'Use MOTIS `tripShortName` for `train_no`' (#9) from kbruen/travelynx:motis-train-no into main

Reviewed-on: https://codeberg.org/derf/travelynx/pulls/9
parents 90731c34 ab77296f
Loading
Loading
Loading
Loading
+1 −1
Changes for lib/Travelynx/Model/InTransit.pm: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ sub add {
				checkin_time       => DateTime->now( time_zone => 'Europe/Berlin' ),
				dep_platform       => $stopover->track,
				train_type         => $journey->mode,
				train_no     => q{},
				train_no           => $journey->trip_short_name // q{},
				train_id           => $journey->id,
				train_line         => $journey->display_name,
				sched_departure    => $stopover->scheduled_departure,