diff --git a/core/lib/Drupal/Core/Datetime/DateFormatter.php b/core/lib/Drupal/Core/Datetime/DateFormatter.php index 5e81fce..3cc320d 100644 --- a/core/lib/Drupal/Core/Datetime/DateFormatter.php +++ b/core/lib/Drupal/Core/Datetime/DateFormatter.php @@ -212,7 +212,6 @@ public function formatInterval($interval, $granularity = 2, $langcode = NULL) { public function getSampleDateFormats($langcode = NULL, $timestamp = NULL, $timezone = NULL) { $language_code = $langcode ?: NULL; $timestamp = $timestamp ?: REQUEST_TIME; - $timezone = $timezone ?: NULL; // All date format characters for the PHP date() function. $date_characters = 'dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU'; $date_chars = str_split($date_characters);