aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/components/PositionValue.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/common/components/PositionValue.js b/modern/src/common/components/PositionValue.js
index 5810ae5e..83fc0ef2 100644
--- a/modern/src/common/components/PositionValue.js
+++ b/modern/src/common/components/PositionValue.js
@@ -43,6 +43,8 @@ const PositionValue = ({ position, property, attribute }) => {
case 'distance':
case 'totalDistance':
return formatDistance(value, distanceUnit, t);
+ case 'hours':
+ return formatNumber(value / 1000);
default:
if (typeof value === 'number') {
return formatNumber(value);