Fix generated schedule using wrong date format
This commit is contained in:
parent
228d75db72
commit
e703902c5e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue