FIX Cast Date method on BlogPost

This commit is contained in:
Daniel Hensby 2016-08-27 22:50:45 +01:00
parent 7f7459f769
commit 91abe1f9f8
No known key found for this signature in database
GPG Key ID: 229831A941962E26

View File

@ -84,6 +84,7 @@ class BlogPost extends Page
*/ */
private static $casting = array( private static $casting = array(
'Excerpt' => 'Text', 'Excerpt' => 'Text',
'Date' => 'SS_Datetime',
); );
/** /**