Minor changes

pull/1424/head
David Peer 2022-02-11 10:54:16 +01:00
parent ce1d0a4e96
commit 038480d358
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ function getWeather(){
// Wind
const wind = locale.speed(weather.wind).match(/^(\D*\d*)(.*)$/);
weather.wind = wind[1]; // + wind[2].toUpperCase(); // Don't show mph - its too large
weather.wind = Math.round(wind[1] * 1.60934) ; // + wind[2].toUpperCase(); // Don't show mph - its too large
return weather
}