diff core/modules/system/templates/time.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 c75dbcec494b
children
line wrap: on
line diff
--- a/core/modules/system/templates/time.html.twig	Thu Feb 28 13:11:55 2019 +0000
+++ b/core/modules/system/templates/time.html.twig	Thu May 09 15:34:47 2019 +0100
@@ -9,11 +9,11 @@
  *   attribute value in attributes.datetime.
  * - text: (optional) The content to display within the <time> element.
  *   Defaults to a human-readable representation of the timestamp value or the
- *   datetime attribute value using format_date().
+ *   datetime attribute value using DateFormatter::format().
  * - attributes: (optional) HTML attributes to apply to the <time> element.
  *   A datetime attribute in 'attributes' overrides the 'timestamp'. To
  *   create a valid datetime attribute value from a UNIX timestamp, use
- *   format_date() with one of the predefined 'html_*' formats.
+ *   DateFormatter::format() with one of the predefined 'html_*' formats.
  *
  * @see template_preprocess_time()
  * @see http://www.w3.org/TR/html5-author/the-time-element.html#attr-time-datetime