diff options
Diffstat (limited to 'ui/src')
-rw-r--r-- | ui/src/components/moment-time.tsx | 2 | ||||
-rw-r--r-- | ui/src/utils.ts | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ui/src/components/moment-time.tsx b/ui/src/components/moment-time.tsx index 83c97fb3..cadd4922 100644 --- a/ui/src/components/moment-time.tsx +++ b/ui/src/components/moment-time.tsx @@ -1,6 +1,6 @@ import { Component } from 'inferno'; import * as moment from 'moment'; -// import 'moment/locale/de'; +import 'moment/locale/de'; import 'moment/locale/zh-cn'; import 'moment/locale/fr'; import 'moment/locale/sv'; diff --git a/ui/src/utils.ts b/ui/src/utils.ts index c0a62114..27dcdca3 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -182,6 +182,8 @@ export function getMomentLanguage(): string { lang = 'sv'; } else if (lang.startsWith('fr')) { lang = 'fr'; + } else if (lang.startsWith('de')) { + lang = 'de'; } else { lang = 'en'; } |