We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f36b6c commit 9760007Copy full SHA for 9760007
apps/airqualityci/clkinfo.js
@@ -60,16 +60,16 @@
60
let aqi = data[config.rows[id].url]
61
let txt = "";
62
let aqius = (aqi && typeof(aqi.aqius) == "number") ? aqi.aqius : "...";
63
- let temp = (aqi && typeof(aqi.temp) == "number") ? aqi.temp : "...";
+ let temp = (aqi && typeof(aqi.temp) == "number") ? require("locale").temp(aqi.temp) : "...";
64
switch ( config.rows[id].mode) {
65
case 2:
66
- txt = aqius + " " + temp + "°";
+ txt = aqius + " " + temp;
67
break;
68
case 3:
69
txt = row.name + " " + aqius;
70
71
case 4:
72
- txt = row.name + " " + aqius + " " + temp + "°";
+ txt = row.name + " " + aqius + " " + temp;
73
74
case 5:
75
txt = row.name;
0 commit comments