From 1b3224ff5ebdfa3bceed430805152ad1f97f58eb Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 30 Dec 2024 18:01:01 -0600 Subject: [PATCH] Remove date bug fix --- commands/commit-count.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);