Skip to content

Commit 28baf8a

Browse files
authored
wind clockInfo - Add space between unit and value
1 parent 8c8b752 commit 28baf8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/weather/clkinfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
weather.feels = require("locale").temp(weather.feels-273.15);
1111
weather.hum = weather.hum + "%";
1212
weather.wind = require("locale").speed(weather.wind).match(/^(\D*\d*)(.*)$/);
13-
weather.wind = Math.round(weather.wind[1]) + weather.wind[2];
13+
weather.wind = Math.round(weather.wind[1]) +" "+ weather.wind[2];
1414
} else {
1515
weather = {
1616
temp: "?",

0 commit comments

Comments
 (0)