From 4ce157bb60e971d206acea30d2d0c5144ac2de17 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 17 Jun 2015 17:24:14 +0800 Subject: [PATCH] Pman.Dialog.CoreAutoSavePreview.bjs Pman.Dialog.CoreAutoSavePreview.js --- Pman.Dialog.CoreAutoSavePreview.bjs | 2 +- Pman.Dialog.CoreAutoSavePreview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman.Dialog.CoreAutoSavePreview.bjs b/Pman.Dialog.CoreAutoSavePreview.bjs index f6d3f7ce..8bf1f067 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -122,7 +122,7 @@ "xtype" : "ColumnModel", "header" : "By", "width" : 100, - "$ renderer" : "function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); }", + "$ renderer" : "function(v) { return String.format('{0}', v ); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", "dataIndex" : "person_id_name" diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index e5ca3b6d..ff234879 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -234,7 +234,7 @@ Pman.Dialog.CoreAutoSavePreview = { '|xns' : 'Roo.grid', dataIndex : 'person_id_name', header : _this._strings['53e5aa2c97fef1555d2511de8218c544'], - renderer : function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); }, + renderer : function(v) { return String.format('{0}', v ); }, width : 100, xns : Roo.grid, xtype : 'ColumnModel' -- 2.39.2