diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php index 03a98a4..1747ef7 100755 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php @@ -320,10 +320,11 @@ class DataMapper implements \TYPO3\CMS\Core\SingletonInterface { return NULL; } elseif ($storageFormat === 'date' || $storageFormat === 'datetime') { // native date/datetime values are stored in UTC - $utcTimeZone = new \DateTimeZone('UTC'); - $utcDateTime = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($targetType, $value, $utcTimeZone); - $currentTimeZone = new \DateTimeZone(date_default_timezone_get()); - return $utcDateTime->setTimezone($currentTimeZone); + //$utcTimeZone = new \DateTimeZone('UTC'); + //$utcDateTime = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($targetType, $value, $utcTimeZone); + //$currentTimeZone = new \DateTimeZone(date_default_timezone_get()); + //return $utcDateTime->setTimezone($currentTimeZone); + return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($targetType, $value); } else { return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance($targetType, date('c', $value)); }