aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/util
diff options
context:
space:
mode:
authorK-J-Dod24 <kieran.dodson@complexus.uk>2023-05-16 15:03:57 +0100
committerK-J-Dod24 <kieran.dodson@complexus.uk>2023-05-16 15:03:57 +0100
commit797f62c1b71d1bb5190b940c3957b4fe3aeed92f (patch)
tree7d3e5fe6754f8b40bbf93c88918b1d056d1a92ff /modern/src/common/util
parent8c93f087e15d7f4452169ef80f9f5ff22a9096e1 (diff)
downloadtrackermap-web-797f62c1b71d1bb5190b940c3957b4fe3aeed92f.tar.gz
trackermap-web-797f62c1b71d1bb5190b940c3957b4fe3aeed92f.tar.bz2
trackermap-web-797f62c1b71d1bb5190b940c3957b4fe3aeed92f.zip
Chamge languages + formatCelsius to temperature
Diffstat (limited to 'modern/src/common/util')
-rw-r--r--modern/src/common/util/formatter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/util/formatter.js b/modern/src/common/util/formatter.js
index 7f08ddcb..610b8dd0 100644
--- a/modern/src/common/util/formatter.js
+++ b/modern/src/common/util/formatter.js
@@ -17,7 +17,7 @@ export const formatNumber = (value, precision = 1) => Number(value.toFixed(preci
export const formatPercentage = (value) => `${value}%`;
-export const formatCelsius = (value) => `${value}°C`;
+export const formatTemperature = (value) => `${value}°C`;
export const formatTime = (value, format, hours12) => {
if (value) {