diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-24 00:33:38 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-24 00:33:38 +1300 |
commit | 7f73073efb74f902ca51e04a705c66a59288911f (patch) | |
tree | 7b274a113833803ab05c6c73ee21976f6cacd076 /web/app/view/ReportController.js | |
parent | 1ffa5a058a4cf84f23663bef2f14608059789f40 (diff) | |
parent | 8dba7d19bda5abb20861f39d569784fdf900ee29 (diff) | |
download | etbsa-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
Diffstat (limited to 'web/app/view/ReportController.js')
-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 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') }); } } |