MINOR: Nicer date formatting (from r95761) (from r98171)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105680 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-05-25 23:41:18 +00:00
parent e430852bef
commit 258f779587
2 changed files with 4 additions and 1 deletions

View File

@ -1276,7 +1276,7 @@ JS;
'CMSMain.ACCESS',
"Access to %s",
PR_MEDIUM,
"Item in permission selection identifying the admin section, with title and classname. Example: Access to Files & Images"
"Item in permission selection identifying the admin section. Example: Access to 'Files & Images'"
), $title, null),
'category' => _t('Permission.CMS_ACCESS_CATEGORY', 'CMS Access')
);

View File

@ -85,6 +85,9 @@ class CommentAdmin extends LeftAndMain {
$idField = new HiddenField('ID', '', $section);
$table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter));
$table->setParentClass(false);
$table->setFieldCasting(array(
'Created' => 'SSDatetime->Nice'
));
$fields = new FieldSet(
new TabSet( 'Root',