diff --git a/core/lib/Drupal/Core/Datetime/DateFormatter.php b/core/lib/Drupal/Core/Datetime/DateFormatter.php index 6bbd77f..08faaee 100644 --- a/core/lib/Drupal/Core/Datetime/DateFormatter.php +++ b/core/lib/Drupal/Core/Datetime/DateFormatter.php @@ -196,11 +196,11 @@ public function formatInterval($interval, $granularity = 2, $langcode = NULL) { * Provides all date format characters value for given timestamp. * * @param string|null $langcode - * Language code of date format. + * Language code of date format. Use site default language, if not provided. * @param int|null $timestamp - * Unix timestamp. + * Unix timestamp to format. Use REQUEST_TIME if not provided. * @param string|null $timezone - * String timezone. + * String timezone. Use site default timezone, if not provided. * * @return array * An array of formatted date value indexed by date character. diff --git a/core/modules/config_translation/src/FormElement/ListElement.php b/core/modules/config_translation/src/FormElement/ListElement.php index 8ec68a6..3a0c138 100644 --- a/core/modules/config_translation/src/FormElement/ListElement.php +++ b/core/modules/config_translation/src/FormElement/ListElement.php @@ -107,7 +107,7 @@ public function getFormAttributes() { if (empty($form_attributes)) { continue; } - $attributes += $form_attributes; + $attributes += $form_attributes; } } return $attributes; diff --git a/core/modules/system/js/system.date.js b/core/modules/system/js/system.date.js index 7ba36e0..6a73753 100644 --- a/core/modules/system/js/system.date.js +++ b/core/modules/system/js/system.date.js @@ -20,7 +20,6 @@ $target: $target }; - /** * Callback to check if the given character has a date value. *