mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
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:
commit
baff7f12bd
@ -754,7 +754,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
$columns->setDisplayFields($fields);
|
$columns->setDisplayFields($fields);
|
||||||
$columns->setFieldCasting(array(
|
$columns->setFieldCasting(array(
|
||||||
'Created' => 'Datetime->Ago',
|
'Created' => 'Datetime->Ago',
|
||||||
'LastEdited' => 'Datetime->Ago',
|
'LastEdited' => 'Datetime->FormatFromSettings',
|
||||||
'getTreeTitle' => 'HTMLText'
|
'getTreeTitle' => 'HTMLText'
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user