aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app/AttributeFormatter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js
index 2e0edb6d6..274b8d028 100644
--- a/web/app/AttributeFormatter.js
+++ b/web/app/AttributeFormatter.js
@@ -35,8 +35,8 @@ Ext.define('Traccar.AttributeFormatter', {
},
hoursFormatter: function (value) {
- var hours = value / 3600000;
- return (hours.toFixed(2) + ' ' + Strings.sharedHourAbbreviation);
+ var hours = Math.round(value / 3600000);
+ return (hours + ' ' + Strings.sharedHourAbbreviation);
},
defaultFormatter: function (value) {