chore: added timetable bottom warnings info

This commit is contained in:
2025-06-22 14:06:22 +02:00
parent 62736d4b04
commit 63262ccf4a
3 changed files with 40 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
const romanMonthDigits = ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII'];
export function parseTimetableRunDate(date: Date) {
return `${date.getDate()}.${romanMonthDigits[date.getMonth()]}.${date
.getFullYear()
.toString()
.slice(2)}`;
}