aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-03 13:32:08 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-03 13:32:08 +1300
commit0a17447db65e188e8f21000a1e162eb0d73ef1eb (patch)
tree2792f7a0fcfdab8ce48a59ee77a67fe3998fd93d /web/app/model
parentba3cfd639270dd3115eedd29c832322b01b5b032 (diff)
downloadtraccar-server-0a17447db65e188e8f21000a1e162eb0d73ef1eb.tar.gz
traccar-server-0a17447db65e188e8f21000a1e162eb0d73ef1eb.tar.bz2
traccar-server-0a17447db65e188e8f21000a1e162eb0d73ef1eb.zip
Fix another problem with date format
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/Device.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/model/Device.js b/web/app/model/Device.js
index 983e3e62e..3cd9ee560 100644
--- a/web/app/model/Device.js
+++ b/web/app/model/Device.js
@@ -32,6 +32,7 @@ Ext.define('Traccar.model.Device', {
type: 'string'
}, {
name: 'lastUpdate',
- type: 'date'
+ type: 'date',
+ dateWriteFormat: 'C'
}]
});