From: CMDR furrycat Date: Sun, 19 Jun 2016 21:36:42 +0000 (-0400) Subject: Check event end time correctly. X-Git-Url: http://git.furryclan.net/?a=commitdiff_plain;h=3e63bcff98ecdfee69d5c4ea3ca12887bf3b917e;p=furrycat%2Frace-o-matic.git Check event end time correctly. --- 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; }