current weather tests

This commit is contained in:
fewieden
2019-09-11 12:27:06 +02:00
parent a8bd196234
commit a24a4a747e
4 changed files with 184 additions and 5 deletions

View File

@@ -215,7 +215,7 @@ Module.register("weather",{
}.bind(this));
this.nunjucksEnvironment().addFilter("decimalSymbol", function(value) {
return value.replace(/\./g, this.config.decimalSymbol);
return value.toString().replace(/\./g, this.config.decimalSymbol);
}.bind(this));
}
});