diff --git a/core/lib/Drupal/Core/Datetime/Date.php b/core/lib/Drupal/Core/Datetime/Date.php index b71d8ba..bc4ed7e 100644 --- a/core/lib/Drupal/Core/Datetime/Date.php +++ b/core/lib/Drupal/Core/Datetime/Date.php @@ -117,7 +117,7 @@ public function format($timestamp, $type = 'medium', $format = '', $timezone = N // Fall back to medium if a format was not found. if (empty($format)) { - $format = $this->dateFormat('fallback', $langcode)->getPattern($key, $langcode); + $format = $this->dateFormat('fallback', $langcode)->getPattern($key); } // Call $date->format().