I have installed the SonataIntlBundle
bundle. The default format_date results in a format like day-number month-name year
.
{{ date_time_object | format_date }} => '1 août 2011'
Source
Now, I want to change this default to dayNumber-monthNumber-yearNumber
for people with a english translation (en) and to monthNumber-dayNumber-yearNumber
for people with a dutch translation (nl). How should I do this and is their any documentation?