diff --git a/modules/forecastio.xml b/modules/forecastio.xml index 67be69881d..02998e5dda 100755 --- a/modules/forecastio.xml +++ b/modules/forecastio.xml @@ -120,7 +120,11 @@ if (items.length === 0) { } // Set moment locale -moment.locale(globalOptions.locale); +if (properties.lang !== null && String(properties.lang).length > 0) { + moment.locale(properties.lang); +} else { + moment.locale(globalOptions.locale); +} // Make replacements [] with target data var makeReplacement = (html, item) => {