From 54ebb429d1c47ea13d2b1a1a8f1566a04ff2d6c1 Mon Sep 17 00:00:00 2001 From: Travis Hardiman Date: Fri, 25 Apr 2025 00:20:39 -0400 Subject: [PATCH] =?UTF-8?q?replace=20U+00BA=20=C2=BA=20(not=20degrees)=20w?= =?UTF-8?q?ith=20U+00B0=20=C2=B0=20(degrees)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit U+00BA º MASCULINE ORDINAL INDICATOR vs. U+00B0 ° DEGREE SIGN (°) --- src/public/index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/public/index.html b/src/public/index.html index 92ce175..58306a6 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -1490,8 +1490,8 @@
Metrics will be shown in the selected format.
@@ -2217,7 +2217,7 @@ datasets: [ { label: 'Temperature', - suffix: 'ºC', + suffix: '°C', borderColor: '#3b82f6', backgroundColor: '#3b82f6', pointStyle: false, // no points @@ -2597,11 +2597,11 @@ formatTemperature: function(celsius) { switch(this.configTemperatureFormat){ case "celsius": { - return `${Number(celsius).toFixed(0)}ºC`; + return `${Number(celsius).toFixed(0)}°C`; } case "fahrenheit": { const fahrenheit = this.celsiusToFahrenheit(celsius); - return `${fahrenheit.toFixed(0)}ºF`; + return `${fahrenheit.toFixed(0)}°F`; } } }, @@ -2617,8 +2617,8 @@ }, getTemperatureUnit: function() { switch(this.configTemperatureFormat){ - case "celsius": return "ºC"; - case "fahrenheit": return "ºF"; + case "celsius": return "°C"; + case "fahrenheit": return "°F"; } }, celsiusToFahrenheit: function(celsius) {