Check event end time correctly.
authorCMDR furrycat <elite@furrycat.net>
Sun, 19 Jun 2016 21:36:42 +0000 (17:36 -0400)
committerCMDR furrycat <elite@furrycat.net>
Sun, 19 Jun 2016 21:36:42 +0000 (17:36 -0400)
entry.js

index fe89209..86cc697 100644 (file)
--- 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;
 }