Skip to content

Commit

Permalink
fix: fix month display issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Feb 18, 2021
1 parent 767f850 commit 5066884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/public/js/support/commit-convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function commit_to_author_map(data) {

function commit_by_days(data) {
let dayMap = {};
for (let datum of data.reverse()) {
for (let datum of data) {
let day = formatDate(datum.date);
if (dayMap[day]) {
dayMap[day].value++;
Expand Down

0 comments on commit 5066884

Please sign in to comment.