mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
e430852bef
commit
258f779587
@ -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')
|
||||
);
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user