[TYPO3-mvc] RFC#9174: Format.date is not capaple of locales due to missing feature in PHP

Kevin Ulrich Moschallski km at 3digit.de
Fri Jan 21 10:56:52 CET 2011


On 2010-09-20 15:45:39 +0200, Michael Knabe said:

> Hi Folks,
> 
> +1 on reading and testing
> 
> anyways I don't know how many extensions this would break. Maybe it's 
> an option to use another name (like DateTimeViewHelper) or a parameter 
> that switches the formatting method.
> 
> Cheers, Michael

Hi,

attached a v2 of the patch with the new format in all examples in the 
comments based on trunk. Also i changed $date->format('U') to 
$date->getTimestamp(). Don't know which one is better. I wrote this 
patch on my own before i found this issue.

Regards,
Kevin


More information about the TYPO3-project-typo3v4mvc mailing list