{"record":{"id":"e6c5d55ae352c35f","repo":"MagicMirrorOrg/MagicMirror","slug":"calendar-your-are-using-the-deprecated-config-va","errorCode":null,"errorMessage":"[calendar] Your are using the deprecated config values 'colored'. Please switch to 'coloredSymbol' & 'coloredText'!","messagePattern":"\\[calendar\\] Your are using the deprecated config values 'colored'\\. Please switch to 'coloredSymbol' & 'coloredText'!","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"defaultmodules/calendar/calendar.js","lineNumber":97,"sourceCode":"\t},\n\n\t// Define required translations.\n\tgetTranslations () {\n\n\t\t/*\n\t\t * The translations for the default modules are defined in the core translation files.\n\t\t * Therefore we can just return false. Otherwise we should have returned a dictionary.\n\t\t * If you're trying to build your own module including translations, check out the documentation.\n\t\t */\n\t\treturn false;\n\t},\n\n\t// Override start method.\n\tstart () {\n\t\tLog.info(`Starting module: ${this.name}`);\n\n\t\tif (this.config.colored) {\n\t\t\tLog.warn(\"[calendar] Your are using the deprecated config values 'colored'. Please switch to 'coloredSymbol' & 'coloredText'!\");\n\t\t\tthis.config.coloredText = true;\n\t\t\tthis.config.coloredSymbol = true;\n\t\t}\n\t\tif (this.config.coloredSymbolOnly) {\n\t\t\tLog.warn(\"[calendar] Your are using the deprecated config values 'coloredSymbolOnly'. Please switch to 'coloredSymbol' & 'coloredText'!\");\n\t\t\tthis.config.coloredText = false;\n\t\t\tthis.config.coloredSymbol = true;\n\t\t}\n\n\t\t// Set locale.\n\t\tmoment.updateLocale(config.language, CalendarUtils.getLocaleSpecification(config.timeFormat));\n\n\t\t// clear data holder before start\n\t\tthis.calendarData = {};\n\n\t\t// indicate no data available yet\n\t\tthis.loaded = false;\n","sourceCodeStart":79,"sourceCodeEnd":115,"githubUrl":"https://github.com/MagicMirrorOrg/MagicMirror/blob/4b4a59534f7da01e4030e46029fe9dd649a7675e/defaultmodules/calendar/calendar.js#L79-L115","documentation":"The calendar module's start() detects the legacy `colored` config option and logs a deprecation warning. `colored` has been split into two independent options: `coloredSymbol` (color the weather/event symbol) and `coloredText` (color the title text). The module still applies backwards-compatible behavior (sets both to true) so functionality continues, but the option will eventually be removed.","triggerScenarios":"A user's config.js calendar module section contains `colored: true` (or truthy), causing the Log.warn at defaultmodules/calendar/calendar.js:97 during module start.","commonSituations":"Old tutorials and copied config snippets from pre-2.x MagicMirror setups; migrating a long-lived config.js across MagicMirror versions without reviewing module options.","solutions":["Replace `colored: true` with `coloredSymbol: true, coloredText: true` in the calendar module config","If you only wanted the symbol colored, set only coloredSymbol: true; for text only, set coloredText: true","Review other calendar options against current docs (docs.magicmirror.builders) while editing the config"],"exampleFix":"// before (config.js, calendar section)\nconfig: { colored: true }\n// after\nconfig: { coloredSymbol: true, coloredText: true }","handlingStrategy":"validation","validationCode":"if (\"colored\" in calendarConfig) {\n  console.warn(\"colored is deprecated: use coloredSymbol and/or coloredText\");\n}","typeGuard":"function usesDeprecatedColored(cfg) {\n  return typeof cfg === \"object\" && cfg !== null && \"colored\" in cfg;\n}","tryCatchPattern":null,"preventionTips":["Grep config.js for 'colored' after MagicMirror upgrades","Read module changelogs/release notes before upgrading","Treat Log.warn lines at startup as actionable config debt","Use only documented options from docs.magicmirror.builders"],"tags":["deprecation","calendar","configuration","magicmirror"],"backgroundTag":"deprecated-config-option","analyzedSha":"4b4a59534f7da01e4030e46029fe9dd649a7675e","analyzedAt":"2026-08-31T21:49:42.591Z","schemaVersion":2},"datasetVersion":"2026-08-31T22:30:34.772Z"}