Mercurial > hg > cmmr2012-drupal-site
diff core/modules/comment/templates/comment.html.twig @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/modules/comment/templates/comment.html.twig Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/comment/templates/comment.html.twig Thu May 09 15:34:47 2019 +0100 @@ -13,11 +13,11 @@ * {{ content|without('field_example') }} * @endcode * - created: Formatted date and time for when the comment was created. - * Preprocess functions can reformat it by calling format_date() with the - * desired parameters on the 'comment.created' variable. + * Preprocess functions can reformat it by calling DateFormatter::format() + * with the desired parameters on the 'comment.created' variable. * - changed: Formatted date and time for when the comment was last changed. - * Preprocess functions can reformat it by calling format_date() with the - * desired parameters on the 'comment.changed' variable. + * Preprocess functions can reformat it by calling DateFormatter::format() + * with the desired parameters on the 'comment.changed' variable. * - permalink: Comment permalink. * - submitted: Submission information created from author and created * during template_preprocess_comment().