diff --git a/commands/commit-count.js b/commands/commit-count.js index 2233282..826d3b0 100644 --- a/commands/commit-count.js +++ b/commands/commit-count.js @@ -86,7 +86,7 @@ module.exports = { monthName = 'Jan.'; } - const mapKey = monthName + ' ' + (messageDate.getDate() - 1).toString(); + const mapKey = monthName + ' ' + (messageDate.getDate()).toString(); if (messageMap.has(mapKey)) { const mapValue = messageMap.get(mapKey);