Don't count current day as missed+ Format

This commit is contained in:
Michael 2025-01-07 14:22:50 -05:00
parent 67754a0004
commit 14dc770a02

View file

@ -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);
}