[pve-devel] r6030 - pve-manager/pve2/www/new
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri May 27 11:06:41 CEST 2011
Author: dietmar
Date: 2011-05-27 11:06:41 +0200 (Fri, 27 May 2011)
New Revision: 6030
Modified:
pve-manager/pve2/www/new/PVEUtils.js
Log:
impl. render_timestamp
Modified: pve-manager/pve2/www/new/PVEUtils.js
===================================================================
--- pve-manager/pve2/www/new/PVEUtils.js 2011-05-27 09:04:22 UTC (rev 6029)
+++ pve-manager/pve2/www/new/PVEUtils.js 2011-05-27 09:06:41 UTC (rev 6030)
@@ -366,6 +366,11 @@
return PVE.Utils.format_size(value);
},
+ render_timestamp: function(value, metaData, record, rowIndex, colIndex, store) {
+ var servertime = new Date(value * 1000);
+ return Ext.Date.format(servertime, 'Y-m-d H:i:s');
+ },
+
render_mem_usage: function(value, metaData, record, rowIndex, colIndex, store) {
var mem = value;
More information about the pve-devel
mailing list