Permalink
Browse files

FIX Fixes #965. Allow user date-settings to show on GridField Page admin

- Relies on framework PR #2961.
  • Loading branch information...
1 parent 403b47f commit b4a1aa4537fc1a771c590fc552b5ddc635138e4f Russell Michell committed Mar 11, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/CMSMain.php
@@ -754,7 +754,7 @@ public function ListViewForm() {
$columns->setDisplayFields($fields);
$columns->setFieldCasting(array(
'Created' => 'Datetime->Ago',
- 'LastEdited' => 'Datetime->Ago',
+ 'LastEdited' => 'Datetime->FormatFromSettings',
'getTreeTitle' => 'HTMLText'
));

0 comments on commit b4a1aa4

Please sign in to comment.