From c1d880d84e93d5c60098b2e3de909a950b78023c Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 4 Jan 2025 19:19:10 +0100 Subject: Departure: Add "id" accessor --- bin/efa-m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bin/efa-m') diff --git a/bin/efa-m b/bin/efa-m index 057cfc9..7777832 100755 --- a/bin/efa-m +++ b/bin/efa-m @@ -483,11 +483,7 @@ sub show_results { @output_line = ( $dtime, $platform, $line, q{}, $d->destination, $d ); if ($show_jid) { - $output_line[2] .= sprintf( ' %s@%d(%s)%d', - $d->stateless =~ s{ }{}gr, - scalar $d->route_pre ? ( $d->route_pre )[0]->id : $d->stop_id, - $d->sched_datetime->strftime('%Y%m%d'), - $d->key ); + $output_line[2] .= ' ' . $d->id; } if ( $edata{route} ) { -- cgit v1.2.3