From 36951373fcc2aec09606d181404cad22ed291098 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 29 Jul 2018 09:58:11 +0200 Subject: db-iris: Show arrival delays in -ot mode even if departure is on time --- bin/db-iris | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/db-iris b/bin/db-iris index f62860f..2031577 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -321,7 +321,7 @@ sub display_result { if ( not defined $d->delay ) { print "\n"; } - elsif ( $d->delay == 0 ) { + elsif ( $d->delay == 0 and ( $d->arrival_delay // 0 ) == 0 ) { printf( "%s+0\n", q{ } x 15 ); } else { -- cgit v1.2.3