aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-24 00:33:38 +1300
committerGitHub <noreply@github.com>2016-11-24 00:33:38 +1300
commit7f73073efb74f902ca51e04a705c66a59288911f (patch)
tree7b274a113833803ab05c6c73ee21976f6cacd076
parent1ffa5a058a4cf84f23663bef2f14608059789f40 (diff)
parent8dba7d19bda5abb20861f39d569784fdf900ee29 (diff)
downloadetbsa-traccar-web-7f73073efb74f902ca51e04a705c66a59288911f.tar.gz
etbsa-traccar-web-7f73073efb74f902ca51e04a705c66a59288911f.tar.bz2
etbsa-traccar-web-7f73073efb74f902ca51e04a705c66a59288911f.zip
Merge pull request #333 from Abyss777/excel_timezone
Pass client timezone to excel export
-rw-r--r--web/app/view/ReportController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 46543ba..8f8cf74 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -112,8 +112,8 @@ Ext.define('Traccar.view.ReportController', {
deviceId: this.deviceId,
groupId: this.groupId,
type: this.eventType,
- from: from.toISOString(),
- to: to.toISOString()
+ from: Ext.Date.format(from, 'c'),
+ to: Ext.Date.format(to, 'c')
});
}
}