aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server')
-rw-r--r--web/pw-server/src/routes/index.svelte2
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 {