Add German (de_DE) long‑date format to useLocaleTime hook (#11720)

This commit is contained in:
Ilja Lukin
2026-03-11 13:17:39 +01:00
committed by GitHub
parent 0d8d9a1798
commit bb3d72cb83
+1
View File
@@ -39,6 +39,7 @@ export const useLocaleTime = ({
const dateFormatLong: Record<string, string> = {
en_US: "MMMM do, yyyy h:mm a",
fr_FR: "'Le 'd MMMM yyyy 'à' H:mm",
de_DE: "d. MMMM yyyy 'um' H:mm",
};
const formatLocaleLong =
(userLocale ? dateFormatLong[userLocale] : undefined) ??