git://git.furryclan.net
/
furrycat
/
race-o-matic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81bec73
)
Check event end time correctly.
author
CMDR furrycat
<elite@furrycat.net>
Sun, 19 Jun 2016 21:36:42 +0000
(17:36 -0400)
committer
CMDR furrycat
<elite@furrycat.net>
Sun, 19 Jun 2016 21:36:42 +0000
(17:36 -0400)
entry.js
patch
|
blob
|
history
diff --git
a/entry.js
b/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;
}