use timestamp instead of dateformat (yyyy-MM-dd HH-mm-ss)

This commit is contained in:
Sebastian Sdorra
2011-04-04 16:11:01 +02:00
parent 3a23add393
commit 2396430431
14 changed files with 310 additions and 37 deletions

View File

@@ -91,8 +91,8 @@ Sonia.user.Grid = Ext.extend(Sonia.rest.Grid, {
{id: 'displayName', header: this.colDisplayNameText, dataIndex: 'displayName', width: 250},
{id: 'mail', header: this.colMailText, dataIndex: 'mail', renderer: this.renderMailto, width: 200},
{id: 'admin', header: this.colAdminText, dataIndex: 'admin', renderer: this.renderCheckbox, width: 50},
{id: 'creationDate', header: this.colCreationDateText, dataIndex: 'creationDate'},
{id: 'lastModified', header: this.colLastModifiedText, dataIndex: 'lastModified'},
{id: 'creationDate', header: this.colCreationDateText, dataIndex: 'creationDate', renderer: Ext.util.Format.formatTimestamp},
{id: 'lastModified', header: this.colLastModifiedText, dataIndex: 'lastModified', renderer: Ext.util.Format.formatTimestamp},
{id: 'type', header: this.colTypeText, dataIndex: 'type', width: 80}
]
});