parent
e0136ca4b7
commit
2cb77e8f89
|
|
@ -110,7 +110,7 @@ function draw() {
|
||||||
clockLayout.tempUnit.label = temp[2];
|
clockLayout.tempUnit.label = temp[2];
|
||||||
clockLayout.weatherIcon.src = chooseIcon(currentWeather.txt);
|
clockLayout.weatherIcon.src = chooseIcon(currentWeather.txt);
|
||||||
const wind = locale.speed(currentWeather.wind).match(/^(\D*\d*)(.*)$/);
|
const wind = locale.speed(currentWeather.wind).match(/^(\D*\d*)(.*)$/);
|
||||||
clockLayout.wind.label = wind[1] + " ";
|
clockLayout.wind.label = wind[1] + " ";
|
||||||
clockLayout.windUnit.label = wind[2] + " " + (currentWeather.wrose||'').toUpperCase();
|
clockLayout.windUnit.label = wind[2] + " " + (currentWeather.wrose||'').toUpperCase();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue