diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-26 05:09:21 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-26 05:09:21 +0200 |
commit | 3752aa0fb16aaee7b8b55f5bdac42f21b3d0ee43 (patch) | |
tree | 0182d89ad528e25b743fadd7285cee4e24c7863a /bin/efa-m | |
parent | 385b25b93a3f10a4044df9fc73027b8ae70dbc8a (diff) |
Trip->route: return Stop instances
Diffstat (limited to 'bin/efa-m')
-rwxr-xr-x | bin/efa-m | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -266,14 +266,15 @@ sub show_stopseq { $trip->dest_name ); for my $stop ( $trip->route ) { - printf( "%s → %s %s\n", - $stop->{sched_arr} - ? ( $stop->{rt_arr} // $stop->{sched_arr} )->strftime('%H:%M') + printf( + "%s → %s %s (%s) %s\n", + $stop->arr ? $stop->arr->strftime('%H:%M') : q{ }, - $stop->{sched_dep} - ? ( $stop->{rt_dep} // $stop->{sched_dep} )->strftime('%H:%M') + $stop->dep ? $stop->dep->strftime('%H:%M') : q{ }, - $stop->{name_full}, + $stop->full_name, + $stop->niveau, + $stop->platform ); } } |