aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/Position.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-08 11:02:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-08 11:02:14 +1300
commitf7b489fdbf79a4dbeb6d52c1e6e53fefc938f98e (patch)
tree304f32bbc37381ecdd9013442efa1641789f85bf /web/app/model/Position.js
parent511f22dd7ab31e5da8741264dbf19a9fe8b05b63 (diff)
downloadtrackermap-server-f7b489fdbf79a4dbeb6d52c1e6e53fefc938f98e.tar.gz
trackermap-server-f7b489fdbf79a4dbeb6d52c1e6e53fefc938f98e.tar.bz2
trackermap-server-f7b489fdbf79a4dbeb6d52c1e6e53fefc938f98e.zip
Fix date format issue on IE (fix #1766)
Diffstat (limited to 'web/app/model/Position.js')
-rw-r--r--web/app/model/Position.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/web/app/model/Position.js b/web/app/model/Position.js
index 365b06115..e559a7eab 100644
--- a/web/app/model/Position.js
+++ b/web/app/model/Position.js
@@ -29,13 +29,16 @@ Ext.define('Traccar.model.Position', {
type: 'int'
}, {
name: 'serverTime',
- type: 'date'
+ type: 'date',
+ dateFormat: 'c'
}, {
name: 'deviceTime',
- type: 'date'
+ type: 'date',
+ dateFormat: 'c'
}, {
name: 'fixTime',
- type: 'date'
+ type: 'date',
+ dateFormat: 'c'
}, {
name: 'valid',
type: 'boolean'