summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-08-20 14:48:29 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-08-20 14:48:29 +0200
commit37e6bb3b8c3ea3e1989165d735d830caece07e2c (patch)
treefc183b2dc60fb3e5ca5499a005b7c355e7492801
parente18ae14f03b75f1f9299530320242e806cf7a8d7 (diff)
ignored canceled departures
-rw-r--r--cgi/index.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 27aafd0..33fddc7 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -216,6 +216,11 @@ sub render_image {
next;
}
+ if ($d->delay eq '-9999') {
+ # canceled
+ next;
+ }
+
if ( $time =~ m{ ^ \d\d? : \d\d $ }x ) {
$dt = DateTime->new(
year => $dt_now->year,