diff --git a/core/MAINTAINERS.txt b/core/MAINTAINERS.txt index 7d23eea..1465091 100644 --- a/core/MAINTAINERS.txt +++ b/core/MAINTAINERS.txt @@ -323,6 +323,10 @@ DateTime module - Jonathan Hedstrom 'jhedstrom' https://www.drupal.org/u/jhedstrom - Matthew Donadio 'mpdonadio' https://www.drupal.org/u/mpdonadio +DateTime range module +- Jonathan Hedstrom 'jhedstrom' https://www.drupal.org/u/jhedstrom +- Matthew Donadio 'mpdonadio' https://www.drupal.org/u/mpdonadio + Dynamic Page Cache module - Fabian Franz 'Fabianx' https://www.drupal.org/u/fabianx - Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers diff --git a/core/composer.json b/core/composer.json index de2feb8..53ab8fa 100644 --- a/core/composer.json +++ b/core/composer.json @@ -88,6 +88,7 @@ "drupal/core-utility": "self.version", "drupal/core-uuid": "self.version", "drupal/datetime": "self.version", + "drupal/datetime_range": "self.version", "drupal/dblog": "self.version", "drupal/dynamic_page_cache": "self.version", "drupal/editor": "self.version", diff --git a/core/modules/datetime_extras/config/schema/datetime_extras.schema.yml b/core/modules/datetime_range/config/schema/datetime_extras.schema.yml similarity index 100% rename from core/modules/datetime_extras/config/schema/datetime_extras.schema.yml rename to core/modules/datetime_range/config/schema/datetime_extras.schema.yml diff --git a/core/modules/datetime_extras/datetime_extras.info.yml b/core/modules/datetime_range/datetime_range.info.yml similarity index 86% rename from core/modules/datetime_extras/datetime_extras.info.yml rename to core/modules/datetime_range/datetime_range.info.yml index 521580d..2bfb74b 100644 --- a/core/modules/datetime_extras/datetime_extras.info.yml +++ b/core/modules/datetime_range/datetime_range.info.yml @@ -1,4 +1,4 @@ -name: 'Datetime Extras' +name: 'Datetime range' type: module description: 'Provides the ability to store end dates.' package: Core (Experimental) diff --git a/core/modules/datetime_extras/datetime_extras.module b/core/modules/datetime_range/datetime_range.module similarity index 63% rename from core/modules/datetime_extras/datetime_extras.module rename to core/modules/datetime_range/datetime_range.module index f5d8718..a45de5d 100644 --- a/core/modules/datetime_extras/datetime_extras.module +++ b/core/modules/datetime_range/datetime_range.module @@ -10,12 +10,12 @@ /** * Implements hook_help(). */ -function datetime_extras_help($route_name, RouteMatchInterface $route_match) { +function datetime_range_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { - case 'help.page.datetime_extras': + case 'help.page.datetime_range': $output = ''; $output .= '
' . t('The Datetime extras module provides a Date field that stores start dates and times, as well as end dates and times. See the Field module help and the Field UI module help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Datetime module.', array(':field' => \Drupal::url('help.page', array('name' => 'field')), ':field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', ':datetime_do' => 'https://www.drupal.org/documentation/modules/datetime')) . '
'; + $output .= '' . t('The Datetime range module provides a Date field that stores start dates and times, as well as end dates and times. See the Field module help and the Field UI module help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Datetime range module.', array(':field' => \Drupal::url('help.page', array('name' => 'field')), ':field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#', ':datetime_do' => 'https://www.drupal.org/documentation/modules/datetime_range')) . '
'; $output .= '