diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | web/app/AttributeFormatter.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ .project .settings +.tern-project .DS_Store nbproject/ web/app.min.js 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; }, |