From a8e656d989f502339ab4c1b6a4c1c59c85b247d5 Mon Sep 17 00:00:00 2001 From: sam detweiler Date: Tue, 17 Dec 2024 12:18:09 -0600 Subject: [PATCH] update config.js.sample about locale variable --- CHANGELOG.md | 1 + config/config.js.sample | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18e8f9ebd9..2c80e3527a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ _This release is scheduled to be released on 2025-01-01._ - [linter] Re-activate `eslint-plugin-package-json` to lint `package.json` (#3643) - [linter] Add linting for markdown files (#3646) - [calendar] - added ability to display end date for full date events, where end is not same day (showEnd=true) +- [core] - added text to the config.js.sample file about the locale variable (#3654) ### Changed diff --git a/config/config.js.sample b/config/config.js.sample index 56edb59df8..1526b0f60b 100644 --- a/config/config.js.sample +++ b/config/config.js.sample @@ -28,7 +28,11 @@ let config = { httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "en", - locale: "en-US", + locale: "en-US", // this variable is provided as a consistent location + // it is currently only used by 3rd party modules. no MagicMirror code uses this value + // as we have no usage, we have no constraints on what this field holds + // see https://en.wikipedia.org/wiki/Locale_(computer_software) for the possibilities + logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 24, units: "metric",