[TYPO3-mvc] f:format.date timezone "problem"?

Sebastian Kurfürst sebastian at typo3.org
Thu Jul 29 12:01:51 CEST 2010


Hey,


> $dateTime = new DateTime('@'.$this->date);
> $dateTime->setTimezone(new DateTimeZone(date_default_timezone_get()));
> return $dateTime;
Couldn't we do this inside Extbase for all DateTime objects we create --
and then the issue is solved correctly?

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list