diff options
Diffstat (limited to 'lib/DBInfoscreen')
| -rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 2 | ||||
| -rw-r--r-- | lib/DBInfoscreen/I18N/en.pm | 2 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 667bafe..e563b80 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -817,6 +817,7 @@ sub render_train {  			$departure->{trip_id}  = $journey->id;  			$departure->{operator} = $journey->operator; +			$departure->{date}     = $route->[0]{sched_dep} // $route->[0]{dep};  			# Use HAFAS route as source of truth; ignore IRIS data  			$departure->{route_pre_diff}  = []; @@ -1132,6 +1133,7 @@ sub train_details {  			my ( $route, $journey ) = @_;  			$res->{trip_id} = $journey->id; +			$res->{date}    = $route->[0]{sched_dep} // $route->[0]{dep};  			if ( not $res->{train_type} ) {  				my $train_type = $res->{train_type} = $journey->type   // q{}; diff --git a/lib/DBInfoscreen/I18N/en.pm b/lib/DBInfoscreen/I18N/en.pm index 5942f30..3abb70f 100644 --- a/lib/DBInfoscreen/I18N/en.pm +++ b/lib/DBInfoscreen/I18N/en.pm @@ -56,7 +56,7 @@ our %Lexicon = (  	'Hohe Auslastung erwartet'      => 'High occupancy expected',  	'Sehr hohe Auslastung erwartet' => 'Very high occupancy expected',  	'Meldungen'                     => 'Messages', -	'Fahrtverlauf'                  => 'Route', +	'Fahrtverlauf am'               => 'Route on',  	'Betrieb'                       => 'Operator',  	'Karte'                         => 'Map',  	'Wagen'                         => 'Composition', | 
