diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-07-18 11:43:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-07-18 11:43:23 +0200 |
commit | 05dca603ad222b6dcdc49f77a1d2db6f4edd4593 (patch) | |
tree | 1994bb4c26b6bf53f63854b23ba829aa16cc166f | |
parent | 79ce658690f95bad7b268958e2cf7c979b7b7f0f (diff) |
db-iris: show a note if a train should have realtime data, but doesn't.
-rwxr-xr-x | bin/db-iris | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/db-iris b/bin/db-iris index 02d4b15..4bcbbfb 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -293,6 +293,9 @@ sub format_delay { elsif ( $d->departure_is_cancelled ) { $delay .= ' ⊖'; } + elsif ( $d->start < $datetime and not $d->has_realtime ) { + $delay = ' ?'; + } return $delay; } |