Nicer dates (from r95776)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98172 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-02-04 04:47:00 +00:00
parent 104171087b
commit c05cdf8dc1

View File

@ -86,7 +86,7 @@ class CommentAdmin extends LeftAndMain {
$table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter)); $table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter));
$table->setParentClass(false); $table->setParentClass(false);
$table->setFieldCasting(array( $table->setFieldCasting(array(
'Created' => 'SSDatetime->Nice' 'Created' => 'SSDatetime->Full'
)); ));
$fields = new FieldSet( $fields = new FieldSet(