[TYPO3-mvc] ViewHelper DateTime

Andreas Kießling andreas.kiessling at web.de
Mon May 17 22:00:09 CEST 2010


Hi,

try
<f:format.date format="d.m.Y">@{event.date}</f:format.date>

This tells the DateTime object, that this is a timestamp.

But when i last used this viewhelper, i had lot of trouble due to 
strange timezone offsets. You may not encounter this with d.m.Y, only 
when you have a time set at 00:00, but I think i hat to switch back to 
strftime.

Regards,
Andreas


More information about the TYPO3-project-typo3v4mvc mailing list