[Neos] DateViewHelper localized month names
Aske Ertmann
aske at moc.net
Mon Jun 1 08:12:48 CEST 2015
Hi
To get localized date output you can use the cldrFormat like this:
{date -> f:format.date(cldrFormat: 'MMM', forceLocale: true)}
Remember to set the default locale in settings like this:
TYPO3.Flow.i18n.defaultLocale: da
Cheers,
Aske
On Sat, May 30, 2015 at 12:28 PM, Jan Syring-Lingenfelder <t3-neos at jan-sl.de
> wrote:
> Hi Frans,
>
> currently it seems not possible to me to use strftime syntax as format
> string. However, one could always build his one ViewHelper, like here:
>
> http://www.elp.co.at/2014/06/11/typo3-6-2-localized-date-output-in-fluidtemplates-based-on-strftime/
>
> --
> regards,
> Jan Syring-Lingenfelder
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
>
--
Venlig hilsen Aske
Webudvikler, team lead
MOC A/S
4692 3435 / 4333 2200
moc.net
More information about the Neos
mailing list