From 1d258ed3fc5467cdabe8e295848f8d497a1cf362 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 16 Jun 2025 18:05:51 +0200 Subject: efa-m: trip view: show occupancy per stop, if available --- bin/efa-m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/efa-m b/bin/efa-m index 28a894f..a6be9b5 100755 --- a/bin/efa-m +++ b/bin/efa-m @@ -367,7 +367,7 @@ sub show_stopseq { for my $stop ( $trip->route ) { printf( - "%s → %s%${delay_len}s %s (%s) %s\n", + "%s → %s%${delay_len}s %s %s (%s) %s\n", $stop->arr ? $stop->arr->strftime('%H:%M') : q{ }, $stop->dep ? $stop->dep->strftime('%H:%M') @@ -378,6 +378,7 @@ sub show_stopseq { ? sprintf( " (%+${inner_delay_len}d)", $stop->delay ) : q{} ), + $stop->occupancy ? format_occupancy( $stop->occupancy ) : q{ }, $stop->full_name, $stop->niveau, $stop->platform -- cgit v1.2.3