mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +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(
|
||||
'Excerpt' => 'Text',
|
||||
'Date' => 'SS_Datetime',
|
||||
);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user