Don't count current day as missed+ Format
This commit is contained in:
parent
67754a0004
commit
14dc770a02
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ module.exports = {
|
||||||
if (validDays.includes(formattedDay)) {
|
if (validDays.includes(formattedDay)) {
|
||||||
dayMap.set(formattedDay, true);
|
dayMap.set(formattedDay, true);
|
||||||
}
|
}
|
||||||
else {
|
else if (formattedDay != (monthName + ' ' + (new Date()).getDate().toString())) {
|
||||||
invalidString += `${formattedDay}\n`;
|
invalidString += `${formattedDay}\n`;
|
||||||
dayMap.set(formattedDay, false);
|
dayMap.set(formattedDay, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue