aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/PositionAttributes.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-05-31 15:53:56 +0500
committerAbyss777 <abyss@fox5.ru>2018-05-31 16:02:05 +0500
commitb56be9f7fd8dc4f0a65f7606828a023d392b473e (patch)
tree8a1c8d478d6aa51482389aedc75ed14c31e899d5 /web/app/store/PositionAttributes.js
parent29ab3eabfe35aa6ad6d2a8be3d7f7b790623ea1e (diff)
downloadtrackermap-web-b56be9f7fd8dc4f0a65f7606828a023d392b473e.tar.gz
trackermap-web-b56be9f7fd8dc4f0a65f7606828a023d392b473e.tar.bz2
trackermap-web-b56be9f7fd8dc4f0a65f7606828a023d392b473e.zip
Add engine hours in milliseconds support
Diffstat (limited to 'web/app/store/PositionAttributes.js')
-rw-r--r--web/app/store/PositionAttributes.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js
index c8feb0a5..5b1206b7 100644
--- a/web/app/store/PositionAttributes.js
+++ b/web/app/store/PositionAttributes.js
@@ -90,7 +90,8 @@ Ext.define('Traccar.store.PositionAttributes', {
}, {
key: 'hours',
name: Strings.positionHours,
- valueType: 'string'
+ valueType: 'number',
+ dataType: 'hours'
}, {
key: 'steps',
name: Strings.positionSteps,