mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
Add German (de_DE) long‑date format to useLocaleTime hook (#11720)
This commit is contained in:
@@ -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) ??
|
||||
|
||||
Reference in New Issue
Block a user