From b97e2f5bf6e6449c0271cd64e7fc8d8653231c3f Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Mon, 17 May 2021 11:24:34 +0930 Subject: [PATCH] fix: add en_US as fallback for display.locale --- app/core/modules/info/get-display.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/modules/info/get-display.ts b/app/core/modules/info/get-display.ts index ff4eaa62a..6cdbdaaf2 100644 --- a/app/core/modules/info/get-display.ts +++ b/app/core/modules/info/get-display.ts @@ -53,7 +53,7 @@ export const getDisplay = async function (context: CoreContext): Promise critical: Number.parseInt(display.critical, 10), hot: Number.parseInt(display.hot, 10), max: Number.parseInt(display.max, 10), - locale: display.locale ?? 'en_us' + locale: display.locale || 'en_US' }; return {