mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-06-30 16:39:21 +02:00
Merge pull request #412 from dhensby/pulls/cast-date
FIX Cast Date method on BlogPost
This commit is contained in:
commit
0f77789eb5
|
@ -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