From 45ce77932be5eeac879e7eca5dfc9884f01e7fcf Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 7 Feb 2019 16:22:19 +0100 Subject: show cancellations in .txt interface --- index.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.pl b/index.pl index c502d3e..9e1985a 100644 --- a/index.pl +++ b/index.pl @@ -765,7 +765,7 @@ sub handle_request { @departures, [ sprintf( '%5s %s%s', - $time, + $result->is_cancelled ? '--:--' : $time, ( $delay and $delay > 0 ) ? q{+} : q{}, $delay || q{} ), $result->train, -- cgit v1.2.3