Replace DateFormatter with DateFormatterInterface in DI

Created on 3 January 2024, over 1 year ago
Updated 22 March 2024, about 1 year ago

Problem/Motivation

Hi, when decorating the date.formatter service, this module stops working because it expects a specific class in dependency injection.

Steps to reproduce

Define a decorator for the date.formatter service, then go to /admin/people/profiles

Proposed resolution

Replace the DateFormatter class with the DateFormatterInterface interface in dependency injection.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024