Add GRIST_DEFAULT_LOCALE env var (#257)

This commit is contained in:
Yohan Boniface
2022-08-24 21:24:50 +02:00
committed by GitHub
parent 028146f88a
commit 50a57c673f
2 changed files with 2 additions and 1 deletions

View File

@@ -128,7 +128,7 @@ bluebird.promisifyAll(tmp);
const MAX_RECENT_ACTIONS = 100;
const DEFAULT_TIMEZONE = (process.versions as any).electron ? moment.tz.guess() : "UTC";
const DEFAULT_LOCALE = "en-US";
const DEFAULT_LOCALE = process.env.GRIST_DEFAULT_LOCALE || "en-US";
// Number of seconds an ActiveDoc is retained without any clients.
// In dev environment, it is convenient to keep this low for quick tests.