diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-30 16:20:10 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 16:20:10 +1200 |
commit | c321abccb465b4ee66c5de087be7bb9223c4d301 (patch) | |
tree | d3008e5ae13936a3b91f78a887d3960e800c51ed /web/app/AttributeFormatter.js | |
parent | 305d268be14e3eca575f8580018cc31b43e2142c (diff) | |
parent | 164f648d107fee4a1fc47cd867096bd603a8d382 (diff) | |
download | trackermap-web-c321abccb465b4ee66c5de087be7bb9223c4d301.tar.gz trackermap-web-c321abccb465b4ee66c5de087be7bb9223c4d301.tar.bz2 trackermap-web-c321abccb465b4ee66c5de087be7bb9223c4d301.zip |
Merge pull request #561 from Abyss777/fix_duration_formatting
Fix duration formatting
Diffstat (limited to 'web/app/AttributeFormatter.js')
-rw-r--r-- | web/app/AttributeFormatter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js index 957992da..abe0f485 100644 --- a/web/app/AttributeFormatter.js +++ b/web/app/AttributeFormatter.js @@ -55,7 +55,7 @@ Ext.define('Traccar.AttributeFormatter', { durationFormatter: function (value) { var hours, minutes; hours = Math.floor(value / 3600000); - minutes = Math.round(value % 3600000 / 60000); + minutes = Math.floor(value % 3600000 / 60000); return hours + ' ' + Strings.sharedHourAbbreviation + ' ' + minutes + ' ' + Strings.sharedMinuteAbbreviation; }, |