Fix generated schedule using wrong date format

This commit is contained in:
Hornwitser 2025-03-05 22:43:07 +01:00
parent 228d75db72
commit e703902c5e

View file

@ -90,7 +90,7 @@ function toId(name: string) {
}
function toIso(date: Date) {
return date.toISOString().replace(":00:000Z", "Z");
return date.toISOString().replace(":00.000Z", "Z");
}
function toSlot(origin: Date, id: string, shorthand: string, index: number): TimeSlot {