From 14dc770a021c5660cf639aed38a82b2c7de77f86 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 7 Jan 2025 14:22:50 -0500 Subject: [PATCH] Don't count current day as missed+ Format --- 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 f0f705e..c4606e0 100644 --- a/commands/commit-count.js +++ b/commands/commit-count.js @@ -204,7 +204,7 @@ module.exports = { if (validDays.includes(formattedDay)) { dayMap.set(formattedDay, true); } - else { + else if (formattedDay != (monthName + ' ' + (new Date()).getDate().toString())) { invalidString += `${formattedDay}\n`; dayMap.set(formattedDay, false); }