diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-23 11:42:33 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-23 11:42:33 +0500 |
commit | 8dba7d19bda5abb20861f39d569784fdf900ee29 (patch) | |
tree | 7b274a113833803ab05c6c73ee21976f6cacd076 /web | |
parent | 1ffa5a058a4cf84f23663bef2f14608059789f40 (diff) | |
download | trackermap-web-8dba7d19bda5abb20861f39d569784fdf900ee29.tar.gz trackermap-web-8dba7d19bda5abb20861f39d569784fdf900ee29.tar.bz2 trackermap-web-8dba7d19bda5abb20861f39d569784fdf900ee29.zip |
Pass client timezone to excel export
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/ReportController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js index 46543ba1..8f8cf741 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') }); } } |