From 3ad6a8d06d2edc53a20bf905bcaecb8713ead15d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 3 Jan 2014 20:37:13 +0100 Subject: support cancelled departures / arrivals --- bin/db-iris | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/db-iris b/bin/db-iris index dba21a7..9deaf57 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -150,6 +150,9 @@ for my $d ( $status->results() ) { if ( $d->delay ) { $delay = ' +' . $d->delay; } + if ( $d->is_cancelled ) { + $delay = ' CANCELED'; + } push( @output, -- cgit v1.2.3