From 6060bff2be43a704926f4673acc71eb507518193 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 28 Aug 2012 22:07:09 +0400 Subject: Treat date as string (fix #45) --- src/web/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/web/index.html') 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'}, -- cgit v1.2.3