mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Cast Date method on BlogPost
This commit is contained in:
parent
7f7459f769
commit
91abe1f9f8
@ -84,6 +84,7 @@ class BlogPost extends Page
|
|||||||
*/
|
*/
|
||||||
private static $casting = array(
|
private static $casting = array(
|
||||||
'Excerpt' => 'Text',
|
'Excerpt' => 'Text',
|
||||||
|
'Date' => 'SS_Datetime',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user