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
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:
@@ -93,7 +93,7 @@ msgstr "{0, plural, one {Spieler angemeldet} other {Spieler angemeldet}}"
|
||||
|
||||
#. 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} um {1}"
|
||||
|
||||
@@ -1843,7 +1843,7 @@ msgstr "Noch keine Teams angemeldet"
|
||||
msgid "No teams found matching \"{search}\""
|
||||
msgstr "Keine Teams gefunden, die zu \"{search}\" passen"
|
||||
|
||||
#: src/features/tournaments/components/tournament-list.tsx:95
|
||||
#: src/features/tournaments/components/tournament-list.tsx:98
|
||||
msgid "No tournaments found"
|
||||
msgstr "Keine Turniere gefunden"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user