summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-01-03 20:37:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-01-03 20:37:13 +0100
commit3ad6a8d06d2edc53a20bf905bcaecb8713ead15d (patch)
treea01d92021544cbe8706de6372d590bf9c6497c59 /bin
parentcc9c1b064ce695085f1d66423ed0d4b91a210f98 (diff)
support cancelled departures / arrivals
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-iris3
1 files changed, 3 insertions, 0 deletions
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,