Attempt at fixing a date bug

This commit is contained in:
Michael 2024-12-30 17:25:10 -06:00
parent a6a89bd14a
commit da0accc304

View file

@ -86,7 +86,7 @@ module.exports = {
monthName = 'Jan.'; monthName = 'Jan.';
} }
const mapKey = monthName + ' ' + messageDate.getDate().toString(); const mapKey = monthName + ' ' + (messageDate.getDate() - 1).toString();
if (messageMap.has(mapKey)) { if (messageMap.has(mapKey)) {
const mapValue = messageMap.get(mapKey); const mapValue = messageMap.get(mapKey);