diff --git a/Neos.ContentRepository/Classes/Domain/Service/ImportExport/NodeImportService.php b/Neos.ContentRepository/Classes/Domain/Service/ImportExport/NodeImportService.php index 45e4ecc39fc..a5183e6aa8c 100644 --- a/Neos.ContentRepository/Classes/Domain/Service/ImportExport/NodeImportService.php +++ b/Neos.ContentRepository/Classes/Domain/Service/ImportExport/NodeImportService.php @@ -321,7 +321,7 @@ protected function parseElement(\XMLReader $xmlReader) case 'lastModificationDateTime': case 'lastPublicationDateTime': $stringValue = trim($xmlReader->readString()); - $dateValue = $this->propertyMapper->convert($stringValue, 'DateTime', $this->propertyMappingConfiguration); + $dateValue = $this->propertyMapper->convert($stringValue, 'DateTimeImmutable', $this->propertyMappingConfiguration); $this->nodeDataStack[count($this->nodeDataStack) - 1][$elementName] = $dateValue; break; default: