[TYPO3-mvc] datetime timezone fluid

Jacco van der Post jacco at id-internetservices.com
Fri Dec 5 21:02:57 CET 2014


Hi!

I set a datetime via

$newComment->setCommentdate(new \DateTime());

In the TYPO3 backend the commentdate of the record displays the correct 
time and date : 21:00 5-12-2014

In Fluid I do
<f:format.date format="%e %B om %k:%M">{comment.commentdate}</f:format.date>

But it shows the time 1 hour later. 5 december om 22:00

How can I correct this?

-- 
Kind Regards

Jacco van der Post


More information about the TYPO3-project-typo3v4mvc mailing list