diff --git a/src/components/admin/pages/event/FightList.svelte b/src/components/admin/pages/event/FightList.svelte index 1a94771..3cfc3e4 100644 --- a/src/components/admin/pages/event/FightList.svelte +++ b/src/components/admin/pages/event/FightList.svelte @@ -155,7 +155,7 @@ $: minTime = dayjs(Math.min(...fights.map(fight => fight.start))).utc(true); let changeTimeOpen = false; - let changedTime = dayjs(Math.min(...fights.map(fight => fight.start)))?.utc(true)?.toISOString()?.slice(0, -1); + let changedTime = dayjs(Math.min(...fights.map(fight => fight.start), 0))?.utc(true).toISOString()?.slice(0, -1); $: deltaTime = dayjs.duration(dayjs(changedTime).utc(true).diff(minTime))