1
0

fix: V3 parser and minor changes
All checks were successful
Remote Deploy / deploy (push) Successful in 7s

This commit is contained in:
2026-02-07 12:20:22 +01:00
parent 0f4bde1b63
commit c8d18cf248

View File

@@ -179,11 +179,11 @@ function parseLessonCell(cell) {
if (!text || cleanupRegex.test(text) || !cell.fill?.fgColor) return null; if (!text || cleanupRegex.test(text) || !cell.fill?.fgColor) return null;
let result = text; return {
if (cell.fill.fgColor.argb === "FFFFFF00") { text,
result += "\n(bude upřesněno)"; backgroundColor: cell.fill.fgColor.argb === undefined ? undefined : `#${cell.fill.fgColor.argb}`,
} willBeSpecified: cell.fill.fgColor.argb === "FFFFFF00" ? true : undefined,
return result; };
} catch { } catch {
return null; return null;
} }
@@ -298,4 +298,4 @@ function formatNowTime() {
); );
} }
parseV3("db/current.xlsx") // parseV3("db/current.xlsx")