fix: render local-timezone dates client-side only
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 14s
CI/CD Pipeline / i18n Catalog Check (push) Successful in 37s
CI/CD Pipeline / Build and Push App Docker Image (push) Successful in 2m10s
CI/CD Pipeline / Deploy to Kubernetes (push) Successful in 8m28s

- started-tournament header and tournament list formatted times in the
  server timezone during ssr, mismatching hydration on every load
This commit is contained in:
2026-08-27 14:14:03 -07:00
parent 7bda138d69
commit 6bb3ee4bc7
6 changed files with 34 additions and 25 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ msgstr "{0, plural, one {jugador inscrito} other {jugadores inscritos}}"
#. placeholder {0}: tournamentStart.toLocaleDateString(i18n.locale, { weekday: "short", month: "short", day: "numeric", })
#. placeholder {1}: tournamentStart.toLocaleTimeString(i18n.locale, { hour: "2-digit", minute: "2-digit", })
#: src/features/tournaments/components/started-tournament/header.tsx:51
#: src/features/tournaments/components/started-tournament/header.tsx:56
msgid "{0} at {1}"
msgstr "{0} a las {1}"
@@ -1843,7 +1843,7 @@ msgstr "Aún no hay equipos inscritos"
msgid "No teams found matching \"{search}\""
msgstr "No se encontraron equipos que coincidan con \"{search}\""
#: src/features/tournaments/components/tournament-list.tsx:95
#: src/features/tournaments/components/tournament-list.tsx:98
msgid "No tournaments found"
msgstr "No se encontraron torneos"