summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-02-07 16:22:19 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-02-07 16:22:19 +0100
commit45ce77932be5eeac879e7eca5dfc9884f01e7fcf (patch)
tree666016da988ab3103b25b1ef7acf3a97904eb102 /index.pl
parentc5b7139a31ef43dad4b80c383f7698e65cc7b914 (diff)
show cancellations in .txt interface
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl2
1 files changed, 1 insertions, 1 deletions
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,