fix(procedure): format date with I18n helper

This commit is contained in:
Colin Darie 2024-03-19 14:41:30 +01:00
parent 370aa074d2
commit b686e299a1
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -3,7 +3,7 @@
.fr-container
.fr-grid-row
.fr-col-12
%h1= t('commencer.closing_details.page_title', libelle: @procedure.libelle, closed_at: @procedure.closed_at.strftime('%d/%m/%Y'))
%h1= t('commencer.closing_details.page_title', libelle: @procedure.libelle, closed_at: l(@procedure.closed_at.to_date, format: :long))
%p
= format_text_value(@procedure.closing_details)