Problem/Motivation

As part of #2999721: [META] Deprecate the legacy include files before Drupal 9, deprecate format_date()

Proposed resolution

Many twig files mention the possible use of format_date() in preprocess calls. As this will be deprecated, replace these mentions with DateFormatter::format().

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

jcnventura created an issue. See original summary.

jcnventura’s picture

Status: Active » Needs review
StatusFileSize
new7.91 KB
voleger’s picture

Status: Needs review » Reviewed & tested by the community

Looks good

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed 0852c7f and pushed to 8.7.x. Thanks!

  • catch committed 0852c7f on 8.7.x
    Issue #3008495 by jcnventura: Replace format_date in twig comments
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.