From 2d2d0149d80673be8e617fb0d5087bc8a869415c Mon Sep 17 00:00:00 2001 From: Edd Date: Sat, 3 Jan 2026 00:42:04 +0000 Subject: [PATCH] little date adjustements --- frontend/src/pages/home/HomePage.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/home/HomePage.vue b/frontend/src/pages/home/HomePage.vue index 9bb11e3..78851dc 100644 --- a/frontend/src/pages/home/HomePage.vue +++ b/frontend/src/pages/home/HomePage.vue @@ -357,7 +357,11 @@ const joinGame = async (game) => {
Match ID: {{ match.id }}
-
Type: {{ match.type }} +
{{ new + Date(game.began_at).toLocaleDateString() }} • {{ new + Date(game.began_at).toLocaleTimeString([], { + hour: '2-digit', + minute: '2-digit' }) }}
@@ -396,7 +400,11 @@ const joinGame = async (game) => {
Host: {{ game.player1?.nickname || 'Anonymous' }}
-
{{ game.began_at }}
+
{{ new + Date(game.began_at).toLocaleDateString() }} • {{ new + Date(game.began_at).toLocaleTimeString([], { + hour: '2-digit', + minute: '2-digit' }) }}