From a91a2c2609afd4c60ff4b5c22a54e35cc9e12f29 Mon Sep 17 00:00:00 2001 From: roxasvalor Date: Sun, 24 Apr 2016 15:24:44 -0500 Subject: [PATCH] Units configurable from Config.js --- modules/default/weatherforecast/weatherforecast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/weatherforecast/weatherforecast.js b/modules/default/weatherforecast/weatherforecast.js index ff7c4190..c1e79828 100644 --- a/modules/default/weatherforecast/weatherforecast.js +++ b/modules/default/weatherforecast/weatherforecast.js @@ -13,7 +13,7 @@ Module.register("weatherforecast",{ defaults: { location: "", appid: "", - units: "metric", + units: config.units, updateInterval: 10 * 60 * 1000, // every 10 minutes animationSpeed: 1000, timeFormat: config.timeFormat,