journey detail title: use departure date

This commit is contained in:
Birte Kristina Friesel 2024-01-30 21:07:06 +01:00
parent 5b3cfd3355
commit 40eb74887b
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -1742,9 +1742,9 @@ sub journey_details {
$self->render( $self->render(
'journey', 'journey',
title => sprintf( 'travelynx: %s %s %s am %s', title => sprintf( 'travelynx: Fahrt %s %s %s am %s',
$journey->{type}, $journey->{line} // '', $journey->{no}, $journey->{type}, $journey->{line} // '', $journey->{no},
$journey->{sched_arrival}->strftime('%d.%m.%Y, %H:%M') ), $journey->{sched_departure}->strftime('%d.%m.%Y um %H:%M') ),
error => undef, error => undef,
journey => $journey, journey => $journey,
journey_visibility => $visibility, journey_visibility => $visibility,