By pablo_pukha on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x, 11.0.x
Introduced in version:
10.3.11, 11.0.10
Issue links:
Description:
The \Drupal\Core\Datetime\DateHelper::dayOfWeekName() method has been updated to return the translated name of the day of the week. This fixes a regression, introduced in Drupal 10.1.0, where the dayOfWeekName() method returned the untranslated English name (e.g. "Monday", "Tuesday", etc.) regardless of the current language.
This change restores the originally intended and documented behavior of the dayOfWeekName() method to make the returned day name respect the current language.
Impacts:
Module developers
Themers