mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-09-06 09:41:12 +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->setDisplayFields($fields);
|
||||||
$columns->setFieldCasting(array(
|
$columns->setFieldCasting(array(
|
||||||
'Created' => 'Date->Ago',
|
'Created' => 'Datetime->Ago',
|
||||||
'LastEdited' => 'Date->Ago',
|
'LastEdited' => 'Datetime->Ago',
|
||||||
));
|
));
|
||||||
|
|
||||||
$controller = $this;
|
$controller = $this;
|
||||||
|
Loading…
Reference in New Issue
Block a user