From 8e850c0922d1a96388991fde6a8ec02372ecd663 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 8 May 2014 17:28:43 +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 95c6bc13..4abc62a6 100644 --- a/Pman.Dialog.CoreAutoSavePreview.bjs +++ b/Pman.Dialog.CoreAutoSavePreview.bjs @@ -93,7 +93,7 @@ "header": "Date", "width": 100, "xtype": "ColumnModel", - "|renderer": "function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); }", + "|renderer": "function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); }", "|xns": "Roo.grid" } ] diff --git a/Pman.Dialog.CoreAutoSavePreview.js b/Pman.Dialog.CoreAutoSavePreview.js index ae248b2e..3b9dc023 100644 --- a/Pman.Dialog.CoreAutoSavePreview.js +++ b/Pman.Dialog.CoreAutoSavePreview.js @@ -122,7 +122,7 @@ Pman.Dialog.CoreAutoSavePreview = { dataIndex : 'event_when', header : 'Date', width : 100, - renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); } + renderer : function(v) { return String.format('{0}', v ? v.format('Y-m-d H:i:s') : ''); } } ] } -- 2.39.2