diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/pw-server/src/routes/index.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/pw-server/src/routes/index.svelte b/web/pw-server/src/routes/index.svelte index 9b817d4..889d767 100644 --- a/web/pw-server/src/routes/index.svelte +++ b/web/pw-server/src/routes/index.svelte @@ -105,7 +105,7 @@ } function formatMatchTimestamp(timestampString: string): string { - let timestamp = DateTime.fromISO(timestampString); + let timestamp = DateTime.fromISO(timestampString, { zone: 'utc' }).toLocal(); if (timestamp.startOf("day").equals(DateTime.now().startOf("day"))) { return timestamp.toFormat("HH:mm"); } else { |