fix: a calendar date is the same day everywhere; legal pages use the shared language picker

formatDate read a date-only value as UTC midnight and showed it in the viewer's zone, so the legal pages' last update read a day early west of UTC. Date-only values are shown in UTC. The legal pages' hand-rolled language buttons are the landing page's LanguageSwitcher. formatDateTime and formatDate get the two-language test formatNumber already had.
This commit is contained in:
2026-09-17 03:53:40 +02:00
parent 7789db8240
commit 791ba5f507
5 changed files with 49 additions and 22 deletions
+1 -2
View File
@@ -2,6 +2,5 @@
"lastUpdated": "Last updated: {{date}}",
"home": "Home",
"contact": "Contact",
"operatorFallback": "your instance's administrator",
"languageLabel": "Language"
"operatorFallback": "your instance's administrator"
}
+1 -2
View File
@@ -2,6 +2,5 @@
"lastUpdated": "Utoljára frissítve: {{date}}",
"home": "Kezdőlap",
"contact": "Kapcsolat",
"operatorFallback": "a példány adminisztrátora",
"languageLabel": "Nyelv"
"operatorFallback": "a példány adminisztrátora"
}