diff --git a/core/includes/common.inc b/core/includes/common.inc index b361be5..ae9d752 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -593,7 +593,7 @@ function format_size($size, $langcode = NULL) { * - One of the built-in formats: 'short', 'medium', * 'long', 'html_datetime', 'html_date', 'html_time', * 'html_yearless_date', 'html_week', 'html_month', 'html_year'. - * - The name of a date type defined by a module in config. + * - The name of a date type defined by a date format config entity. * - The machine name of an administrator-defined date format. * - 'custom', to use $format. * Defaults to 'medium'. diff --git a/core/lib/Drupal/Core/Datetime/DateFormatter.php b/core/lib/Drupal/Core/Datetime/DateFormatter.php index da6948c..b97f2e1 100644 --- a/core/lib/Drupal/Core/Datetime/DateFormatter.php +++ b/core/lib/Drupal/Core/Datetime/DateFormatter.php @@ -103,7 +103,7 @@ public function __construct(EntityManagerInterface $entity_manager, LanguageMana * - One of the built-in formats: 'short', 'medium', * 'long', 'html_datetime', 'html_date', 'html_time', * 'html_yearless_date', 'html_week', 'html_month', 'html_year'. - * - The name of a date type defined by a module in config. + * - The name of a date type defined by a date format config entity. * - The machine name of an administrator-defined date format. * - 'custom', to use $format. * Defaults to 'medium'.