mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed DatetimeField_Readonly config retrieval
This commit is contained in:
parent
726b9cac46
commit
b92676cc86
@ -298,7 +298,7 @@ class DatetimeField_Readonly extends DatetimeField {
|
||||
$format = sprintf(
|
||||
$this->getConfig('datetimeorder'),
|
||||
$this->dateField->getConfig('dateformat'),
|
||||
$this->dateField->getConfig('timeformat')
|
||||
$this->timeField->getConfig('timeformat')
|
||||
);
|
||||
$valueObj = new Zend_Date(
|
||||
sprintf($this->getConfig('datetimeorder'), $valDate, $valTime),
|
||||
|
Loading…
Reference in New Issue
Block a user