diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-08 11:02:14 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-08 11:02:14 +1300 |
commit | f7b489fdbf79a4dbeb6d52c1e6e53fefc938f98e (patch) | |
tree | 304f32bbc37381ecdd9013442efa1641789f85bf /web/app/model/Position.js | |
parent | 511f22dd7ab31e5da8741264dbf19a9fe8b05b63 (diff) | |
download | trackermap-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.js | 9 |
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' |