mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #160 from JayDevlin/master
Change ListViewForm FieldCasting to Datetime
This commit is contained in:
commit
913ccfaf5f
@ -697,8 +697,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
|
||||
$columns->setDisplayFields($fields);
|
||||
$columns->setFieldCasting(array(
|
||||
'Created' => 'Date->Ago',
|
||||
'LastEdited' => 'Date->Ago',
|
||||
'Created' => 'Datetime->Ago',
|
||||
'LastEdited' => 'Datetime->Ago',
|
||||
));
|
||||
|
||||
$controller = $this;
|
||||
|
Loading…
Reference in New Issue
Block a user