diff --git a/template-parts/articles/article-informations.php b/template-parts/articles/article-informations.php index acb42e4..6f0b136 100644 --- a/template-parts/articles/article-informations.php +++ b/template-parts/articles/article-informations.php @@ -3,7 +3,10 @@ $revueID = $args['revueID']; $issue_number = get_field('issue_number', $revueID); $issue_parution_date = get_the_date('F Y', $revueID); -$issue_updated_date = get_the_modified_date('F Y', $revueID); +$issue_updated_date = get_post_meta(get_the_ID(), 'article_modification_date', true); +// Formater la date en utilisant la langue configurée dans WordPress +$issue_updated_date_formatted = $issue_updated_date ? date_i18n('F Y', strtotime($issue_updated_date)) : null; + $coordinations_authors = get_field('coordinations_authors', $revueID); ?> @@ -24,10 +27,10 @@ $coordinations_authors = get_field('coordinations_authors', $revueID); - +
Mise à jour
- +