From 3e63bcff98ecdfee69d5c4ea3ca12887bf3b917e Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Sun, 19 Jun 2016 17:36:42 -0400 Subject: [PATCH] Check event end time correctly. --- entry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.js b/entry.js index fe89209..86cc697 100644 --- a/entry.js +++ b/entry.js @@ -593,7 +593,7 @@ function do_plot(table, canvas) { function within_race_timeframe(time) { if (! time) return false; if (event_start_time != null && time < from_iso8601(event_start_time)) return false; - if (event_end_time != null && time < from_iso8601(event_end_time)) return false; + if (event_end_time != null && time > from_iso8601(event_end_time)) return false; return true; } -- 2.7.4