Problem/Motivation
Various classes typehint the injected date.formatter service with the default implementation rather than the interface.This leads to problem like when modules try to decorate or override the service.
Steps to reproduce
Decorate or replace date.formatter with a different class.
Proposed resolution
Typehint constructor with interface, not concrete implementation.
User interface changes
Nil
API changes
Nil
Data model changes
Nil
Issue fork diff-3313385
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dpiComment #4
acbramley commentedNice one
Comment #5
acbramley commentedAny chance of getting this committed?
Comment #7
acbramley commented