mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
showcalendar config method change
This commit is contained in:
parent
92004f803c
commit
141db8d472
@ -266,7 +266,7 @@ class BlogPost extends Page
|
||||
}
|
||||
|
||||
$publishDate = DatetimeField::create('PublishDate', _t('BlogPost.PublishDate', 'Publish Date'));
|
||||
$publishDate->getDateField()->setConfig('showcalendar', true);
|
||||
$publishDate->getDateField()->setShowCalendar(true);
|
||||
if (!$this->PublishDate) {
|
||||
$publishDate->setDescription(
|
||||
_t(
|
||||
|
Loading…
Reference in New Issue
Block a user