aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-08-28 22:07:09 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-08-28 22:07:09 +0400
commit6060bff2be43a704926f4673acc71eb507518193 (patch)
treec1cc517725ac89ae04dc8de5e90e65874caed41f
parentd547ff32f61cdf6e6b67276dbb0d00e0abec40be (diff)
downloadtraccar-server-6060bff2be43a704926f4673acc71eb507518193.tar.gz
traccar-server-6060bff2be43a704926f4673acc71eb507518193.tar.bz2
traccar-server-6060bff2be43a704926f4673acc71eb507518193.zip
Treat date as string (fix #45)
-rw-r--r--src/web/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web/index.html b/src/web/index.html
index cde73f47b..e8a042faf 100644
--- a/src/web/index.html
+++ b/src/web/index.html
@@ -762,7 +762,7 @@ Ext.onReady(function() {
extend: 'Ext.data.Model',
fields: [
{name: 'device_id', type: 'int'},
- {name: 'time', type: 'date'},
+ {name: 'time', type: 'string'},
{name: 'valid', type: 'boolean'},
{name: 'latitude', type: 'float'},
{name: 'longitude', type: 'float'},
@@ -930,8 +930,8 @@ Ext.onReady(function() {
{
header: 'Time',
dataIndex: 'time',
- flex: 1,
- renderer: Ext.util.Format.dateRenderer('Y-m-d H:i:s')
+ flex: 1
+ //renderer: Ext.util.Format.dateRenderer('Y-m-d H:i:s')
},
{header: 'Valid', dataIndex: 'valid'},
{header: 'Latitude', dataIndex: 'latitude'},