diff options
Diffstat (limited to 'web')
-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 d555205..abe0f48 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 = value >= 60000 ? Math.floor(value % 3600000 / 60000) : Math.round(value / 60000); + minutes = Math.floor(value % 3600000 / 60000); return hours + ' ' + Strings.sharedHourAbbreviation + ' ' + minutes + ' ' + Strings.sharedMinuteAbbreviation; }, |