1
0

feat: Some more parsers in the Absence
All checks were successful
Remote Deploy / deploy (push) Successful in 4s

This commit is contained in:
2025-10-22 17:05:15 +02:00
parent 0432be4828
commit 64d83383f9
2 changed files with 128 additions and 97 deletions

View File

@@ -159,7 +159,7 @@ export default async function parseThisShit(downloadedFilePath) {
}
const data = parseAbsence(value, teacherMap);
final[finalIndex]["ABSENCE"].push(data);
final[finalIndex]["ABSENCE"].push(...data);
}
}
@@ -202,7 +202,7 @@ export default async function parseThisShit(downloadedFilePath) {
}
}
fs.writeFileSync("db/current.json", JSON.stringify(data));
fs.writeFileSync("db/current.json", JSON.stringify(data, null, 2));
}
// parseThisShit("downloads/table.xlsx")
parseThisShit("downloads/table.xlsx")