Remove unused items in Timetable
This commit is contained in:
parent
a9ba0c55e1
commit
5256f3fcf8
1 changed files with 0 additions and 5 deletions
|
@ -95,7 +95,6 @@
|
|||
import { DateTime } from "luxon";
|
||||
import type { Role, ScheduleEvent, ScheduleLocation, Shift, ShiftSlot, TimeSlot } from "~/shared/types/schedule";
|
||||
|
||||
const oneDayMs = 24 * 60 * 60 * 1000;
|
||||
const oneHourMs = 60 * 60 * 1000;
|
||||
const oneMinMs = 60 * 1000;
|
||||
|
||||
|
@ -173,10 +172,6 @@ function setEquals<T>(...sets: Set<T>[]) {
|
|||
return true;
|
||||
}
|
||||
|
||||
function isoStringFromTs(ts: number) {
|
||||
return new Date(ts).toISOString().replace(":00.000Z", "Z");
|
||||
}
|
||||
|
||||
function* edgesFromEvents(events: Iterable<ScheduleEvent>): Generator<Edge> {
|
||||
for (const event of events) {
|
||||
for (const slot of event.slots) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue