Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
small fixes, and v2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bberenberg committed Oct 3, 2015
1 parent 6b475a9 commit b0248ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ function buildMenu(menu){
menu.item(0, 1, { title: 'Yesterday (' + functions.sumScore(votes, functions.timeHop(1), start)[0] + ')' });
menu.item(0, 2, { title: '7 day score (' + functions.sumScore(votes, functions.timeHop(7), start)[0] + ')' });
menu.item(0, 3, { title: '30 day score (' + functions.sumScore(votes, functions.timeHop(30), start)[0] + ')' });
//menu.item(0, 4, { title: 'Data Generator' });
//menu.item(0, 5, { title: 'Delete History' });
menu.item(0, 4, { title: 'Data Generator' });
menu.item(0, 5, { title: 'Delete History' });
return menu;
}

Expand Down
2 changes: 1 addition & 1 deletion src/graphing.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ draw.graph = function (votes,intervals,segments){
graph.add(column);
});

var midnight = functions.startOfDay();
var midnight = functions.timeHop(1);
var dateRange;
if (intervals == 1 || intervals === 0){
dateRange = firstInterval.getMonth() + '/' + firstInterval.getDate();
Expand Down

0 comments on commit b0248ff

Please sign in to comment.