[MERGE] Branch 'master' of https://phabricator.glanzstueck.agency/source/typo3-template_aide
This commit is contained in:
commit
fa2ab93619
@ -109,6 +109,22 @@ class ObjectUtility
|
||||
$relatedObject
|
||||
);
|
||||
}
|
||||
} elseif (
|
||||
\DateTime::createFromFormat(\DateTime::ISO8601, $value)
|
||||
!== false
|
||||
) {
|
||||
$object->_setProperty(
|
||||
$property,
|
||||
\DateTime::createFromFormat(\DateTime::ISO8601, $value)
|
||||
);
|
||||
} elseif (
|
||||
\DateTime::createFromFormat('Y-m-d\TH:i:s', $value)
|
||||
!== false
|
||||
) {
|
||||
$object->_setProperty(
|
||||
$property,
|
||||
\DateTime::createFromFormat('Y-m-d\TH:i:s', $value)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user