[Neos] Set Date to German dateformat

Jan Syring-Lingenfelder t3-neos at jan-sl.de
Tue Jun 9 13:33:15 CEST 2015


Hi Patric,

to get this result you can either use f:format.date(forceLocale: true, localeFormatType: 'date', localeFormatLength: 'long')
Or, which gives you more flexibility, use cldr format:
f:format.date(forceLocale: true, cldrFormat: 'MMM')

In order to get the right locale you can either set the default locale, as you did, or use forceLocale:'de_DE'.

Kind regards,
Jan Syring-Lingenfelder

Am 09.06.2015 07:17 schrieb Patric Eckhart <mail at patriceckhart.com>:
>
> Hey guys, 
>
> how can I set die Date 9. June to 9. Juni? 
> Apache date.timezone = Europe/Berlin is set. 
>
> I have tried this with 
>
>     i18n: 
>       defaultLocale: 'de' 
>
> but it does not work. 
>
> Thank you for your answers. 
> _______________________________________________ 
> Neos mailing list 
> Neos at lists.typo3.org 
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos 


More information about the Neos mailing list