Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ d3DemoApp.controller('AppCtrl', function AppCtrl ($scope, $http) {

// helper for formatting date
var humanReadableDate = function (d) {
return d.getUTCMonth() + '/' + d.getUTCDate();
return d.getUTCMonth()+1 + '/' + d.getUTCDate();
};

// helper for reformatting the Github API response into a form we can pass to D3
Expand Down Expand Up @@ -303,4 +303,4 @@ d3DemoApp.directive('ghVisualization', function () {
});
}
}
});
});