This commit is contained in:
@@ -68,7 +68,7 @@ function getUpcomingSheets(workbook) {
|
||||
|
||||
const day = Number(match[2]);
|
||||
const month = Number(match[3]) - 1;
|
||||
const year = Number(match[4]);
|
||||
const year = match[4].length === 2 ? Number('20' + match[4]) : Number(match[4]);
|
||||
|
||||
const sheetDate = new Date(year, month, day);
|
||||
if (sheetDate < todayMidnight) continue;
|
||||
|
||||
Reference in New Issue
Block a user