[TYPO3-mvc] DateViewHelper with german locale

Stephan Helten stephan.helten at engage.de
Mon Jul 4 16:11:02 CEST 2011


Hi,

 

when using german locale (in ts):

config. locale_all = de_DE.utf8

 

The fluid ViewHelper call

 

<f:format.date format="d. F Y">20110704</f:format.date>

 

results in "04. July 2011" instead of "04. Juli 2011".

 

The ViewHelper is using DateTime->format.

I think DateTime doesn't support localized month names.

 

Do you know something about this problem, can you affirm this behavior?

Am I doing something wrong or should I write my own ViewHelper using a
function like strftime that supports it. 

 

regards

 

Stephan Helten

 



More information about the TYPO3-project-typo3v4mvc mailing list