Format Translated Modifier
Given a date string, or anything that sort of looks like a date string, format_translated will convert it to a Carbon instance and allow you to format it using your site's configured locale.
event_date: 2024-02-28 {{ event_date | format_translated('l j F Y') }} {{ Statamic::modify($event_date)->format_translated('l j F Y') }} Assuming your site's locale is fr_FR:
mercredi 28 février 2024 Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page