Fixing time travel solves

selenium-screenshot-testing
Kevin Chung 2016-04-21 11:40:59 -04:00
parent d129a251d0
commit 5590b11636
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ function scoregraph() {
for (var i = 0; i < solves.length; i++) { for (var i = 0; i < solves.length; i++) {
var date = moment(solves[i].time * 1000); var date = moment(solves[i].time * 1000);
times.push(date.format('YYYY-MM-DD hh:mm:ss')); times.push(date.toDate());
scores.push(solves[i].value); scores.push(solves[i].value);
} }
scores = cumulativesum(scores); scores = cumulativesum(scores);