From c9d9ef9f2fef278455b37e64f83b8e0851c908d0 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 13 Nov 2015 14:35:12 +1300 Subject: Use international date format for pickers --- web/app/view/Report.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/app/view') diff --git a/web/app/view/Report.js b/web/app/view/Report.js index 65a151c4d..91ccba917 100644 --- a/web/app/view/Report.js +++ b/web/app/view/Report.js @@ -45,6 +45,7 @@ Ext.define('Traccar.view.Report', { xtype: 'datefield', reference: 'fromDateField', startDay: Traccar.Style.weekStartDay, + format: Traccar.Style.dateFormat, value: new Date(new Date().getTime() - 30 * 60 * 1000) }, { xtype: 'timefield', @@ -59,6 +60,7 @@ Ext.define('Traccar.view.Report', { xtype: 'datefield', reference: 'toDateField', startDay: Traccar.Style.weekStartDay, + format: Traccar.Style.dateFormat, value: new Date() }, { xtype: 'timefield', -- cgit v1.2.3