From 0a7a4d5d576a24ecc73f79f8afe9313f35b71bab Mon Sep 17 00:00:00 2001 From: quietone <quietone@2572884.no-reply.drupal.org> Date: Sun, 14 Jul 2024 14:29:31 +1200 Subject: [PATCH] Issue #3460246 by Prem Suthar, joachim, afeijo: incorrect docs in DateFormatter::format() (cherry picked from commit 5f17c3a22a6703344b507f50b2890ff5c77a22c8) --- core/lib/Drupal/Core/Datetime/DateFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Datetime/DateFormatter.php b/core/lib/Drupal/Core/Datetime/DateFormatter.php index cd1c5f31bcfd..3184256edadb 100644 --- a/core/lib/Drupal/Core/Datetime/DateFormatter.php +++ b/core/lib/Drupal/Core/Datetime/DateFormatter.php @@ -127,7 +127,7 @@ public function format($timestamp, $type = 'medium', $format = '', $timezone = N } } - // Fall back to the 'medium' date format type if the format string is + // Fall back to the 'fallback' date format type if the format string is // empty, either from not finding a requested date format or being given an // empty custom format string. if (empty($format)) { -- GitLab