Modifier: format_localized

Given a date string, or anything that sort of looks like a date string, format will convert it to a Carbon instance and allow you to format it with PHP’s strftime format variables. It will use the current locale defined in your system settings.

event_date: April 15 2016
{{ event_date format_localized="%A %d %B %Y" }}

Assuming your locale is fr_FR:

Vendredi 15 avril 2016

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on May 5, 2016