aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-23 11:42:33 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-23 11:42:33 +0500
commit8dba7d19bda5abb20861f39d569784fdf900ee29 (patch)
tree7b274a113833803ab05c6c73ee21976f6cacd076
parent1ffa5a058a4cf84f23663bef2f14608059789f40 (diff)
downloadetbsa-traccar-web-8dba7d19bda5abb20861f39d569784fdf900ee29.tar.gz
etbsa-traccar-web-8dba7d19bda5abb20861f39d569784fdf900ee29.tar.bz2
etbsa-traccar-web-8dba7d19bda5abb20861f39d569784fdf900ee29.zip
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')
});
}
}