fix: add en_US as fallback for display.locale

This commit is contained in:
Alexis Tyler
2021-05-17 11:24:34 +09:30
parent 98432a4059
commit b97e2f5bf6

View File

@@ -53,7 +53,7 @@ export const getDisplay = async function (context: CoreContext): Promise<Result>
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 {