From 8dba7d19bda5abb20861f39d569784fdf900ee29 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 23 Nov 2016 11:42:33 +0500 Subject: Pass client timezone to excel export --- web/app/view/ReportController.js | 4 ++-- 1 file 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') }); } } -- cgit v1.2.3