Merge pull request #160 from JayDevlin/master

Change ListViewForm FieldCasting to Datetime
This commit is contained in:
Ingo Schommer 2012-07-10 01:14:42 -07:00
commit 913ccfaf5f

View File

@ -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;