aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components
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/components
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/components')
-rw-r--r--modern/src/common/components/PositionValue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/common/components/PositionValue.js b/modern/src/common/components/PositionValue.js
index 6ff7c7ad..3d9af9b6 100644
--- a/modern/src/common/components/PositionValue.js
+++ b/modern/src/common/components/PositionValue.js
@@ -46,7 +46,7 @@ const PositionValue = ({ position, property, attribute }) => {
case 'batteryLevel':
return value != null ? formatPercentage(value, t) : '';
case 'coolantTemp':
- return formatCelsius(value);
+ return formatTemperature(value);
case 'alarm':
return formatAlarm(value, t);
case 'odometer':