Replace date() PHP function

Created on 3 January 2024, 9 months ago
Updated 18 January 2024, 8 months ago

It's incorrect to use the default date() function.
It should be replaced with \Drupal::service('date.formatter')->format() service.

The service should be added as a dependency injection. The MR should be created for the 1.0.x branch.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇦Ukraine AstonVictor

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