aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-13 14:35:12 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-13 14:35:12 +1300
commitc9d9ef9f2fef278455b37e64f83b8e0851c908d0 (patch)
tree35bd791f8e04c68f5c335ac2f43197e3b75e239a /web/app/view
parent4f0516ae38d38162563ad6b902b8deac041b309c (diff)
downloadtraccar-server-c9d9ef9f2fef278455b37e64f83b8e0851c908d0.tar.gz
traccar-server-c9d9ef9f2fef278455b37e64f83b8e0851c908d0.tar.bz2
traccar-server-c9d9ef9f2fef278455b37e64f83b8e0851c908d0.zip
Use international date format for pickers
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/Report.js2
1 files changed, 2 insertions, 0 deletions
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',