Skip to content

Commit 786eacf

Browse files
sdetweilrejas
andauthored
update config.js.sample about locale variable (#3655)
add text to config.js.sample about usage of locale variable/property Co-authored-by: Veeck <[email protected]>
1 parent 5b3b40d commit 786eacf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ _This release is scheduled to be released on 2025-01-01._
2323
- [linter] Re-activate `eslint-plugin-package-json` to lint `package.json` (#3643)
2424
- [linter] Add linting for markdown files (#3646)
2525
- [calendar] Add ability to display end date for full date events, where end is not same day (showEnd=true) (#3650)
26+
- [core] Add text to the config.js.sample file about the locale variable (#3654)
2627

2728
### Changed
2829

config/config.js.sample

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ let config = {
2828
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
2929

3030
language: "en",
31-
locale: "en-US",
31+
locale: "en-US", // this variable is provided as a consistent location
32+
// it is currently only used by 3rd party modules. no MagicMirror code uses this value
33+
// as we have no usage, we have no constraints on what this field holds
34+
// see https://en.wikipedia.org/wiki/Locale_(computer_software) for the possibilities
35+
3236
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
3337
timeFormat: 24,
3438
units: "metric",

0 commit comments

Comments
 (0)