mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Use SS_Datetime instead of Datetime. Allows the usage of Object::useCustomClass('SS_Datetime', 'LocalDatetime');
This commit is contained in:
parent
b395e6f12f
commit
9796265e7c
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
class BlogEntry extends Page {
|
class BlogEntry extends Page {
|
||||||
static $db = array(
|
static $db = array(
|
||||||
"Date" => "Datetime",
|
"Date" => "SS_Datetime",
|
||||||
"Author" => "Text",
|
"Author" => "Text",
|
||||||
"Tags" => "Text"
|
"Tags" => "Text"
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user