aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/common/attributes/usePositionAttributes.js5
-rw-r--r--modern/src/resources/l10n/en.json1
2 files changed, 6 insertions, 0 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js
index 9e889b09..81497938 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -344,6 +344,11 @@ export default (t) => useMemo(() => ({
name: t('positionCard'),
type: 'string',
},
+ drivingTime: {
+ name: t('positionDrivingTime'),
+ type: 'number',
+ dataType: 'hours',
+ },
color: {
name: t('attributeColor'),
type: 'string',
diff --git a/modern/src/resources/l10n/en.json b/modern/src/resources/l10n/en.json
index 82707603..33140133 100644
--- a/modern/src/resources/l10n/en.json
+++ b/modern/src/resources/l10n/en.json
@@ -291,6 +291,7 @@
"positionDtcs": "DTCs",
"positionObdSpeed": "OBD Speed",
"positionObdOdometer": "OBD Odometer",
+ "positionDrivingTime": "Driving Time",
"positionDriverUniqueId": "Driver Unique Id",
"positionCard": "Card",
"positionImage": "Image",