Merge pull request #968 from phptek/issue/965

FIX Fixes #965. Allow user date-settings to show on GridField Page admin
This commit is contained in:
Damian Mooyman 2014-04-10 14:21:08 +12:00
commit baff7f12bd

View File

@ -754,7 +754,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
$columns->setDisplayFields($fields);
$columns->setFieldCasting(array(
'Created' => 'Datetime->Ago',
'LastEdited' => 'Datetime->Ago',
'LastEdited' => 'Datetime->FormatFromSettings',
'getTreeTitle' => 'HTMLText'
));