mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Fixed Wind Chill in Kelvin
This commit is contained in:
parent
f4910f0a8e
commit
34e5f29419
@ -417,7 +417,7 @@ Module.register("currentweather",{
|
|||||||
case "imperial": this.feelsLike = windChillInF.toFixed(0);
|
case "imperial": this.feelsLike = windChillInF.toFixed(0);
|
||||||
break;
|
break;
|
||||||
case "default":
|
case "default":
|
||||||
var tc = windChillInC - 273.15;
|
var tc = windChillInC + 273.15;
|
||||||
this.feelsLike = tc.toFixed(0);
|
this.feelsLike = tc.toFixed(0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user