mirror of
https://github.com/Spythere/srjp-td2.git
synced 2026-05-04 14:08:12 +00:00
chore: added timetable bottom warnings info
This commit is contained in:
@@ -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)}`;
|
||||
}
|
||||
Reference in New Issue
Block a user