update config.js.sample about locale variable (#3655)

add text to config.js.sample about usage of locale variable/property

Co-authored-by: Veeck <github@veeck.de>
This commit is contained in:
sam detweiler
2024-12-18 06:43:20 -06:00
committed by GitHub
parent 5b3b40da66
commit 786eacf41a
2 changed files with 6 additions and 1 deletions

View File

@@ -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",