Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078
This commit is contained in:
parent
6419a031d7
commit
4afb23bbd3
762 changed files with 20080 additions and 6368 deletions
core/lib/Drupal/Core/Datetime
|
@ -16,7 +16,7 @@ use Drupal\Core\StringTranslation\StringTranslationTrait;
|
|||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
|
||||
/**
|
||||
* Provides a service to handler various date related functionality.
|
||||
* Provides a service to handle various date related functionality.
|
||||
*
|
||||
* @ingroup i18n
|
||||
*/
|
||||
|
|
|
@ -440,7 +440,7 @@ class DateHelper {
|
|||
* Identifies the number of days in a month for a date.
|
||||
*
|
||||
* @param mixed $date
|
||||
* (optional) A date object, timestamp, or a date string.
|
||||
* (optional) A DrupalDateTime object or a date string.
|
||||
* Defaults to NULL, which means to use the current date.
|
||||
*
|
||||
* @return int
|
||||
|
@ -460,7 +460,7 @@ class DateHelper {
|
|||
* Identifies the number of days in a year for a date.
|
||||
*
|
||||
* @param mixed $date
|
||||
* (optional) A date object, timestamp, or a date string.
|
||||
* (optional) A DrupalDateTime object or a date string.
|
||||
* Defaults to NULL, which means to use the current date.
|
||||
*
|
||||
* @return int
|
||||
|
@ -485,7 +485,7 @@ class DateHelper {
|
|||
* Returns day of week for a given date (0 = Sunday).
|
||||
*
|
||||
* @param mixed $date
|
||||
* (optional) A date object, timestamp, or a date string.
|
||||
* (optional) A DrupalDateTime object or a date string.
|
||||
* Defaults to NULL, which means use the current date.
|
||||
*
|
||||
* @return int
|
||||
|
@ -505,7 +505,7 @@ class DateHelper {
|
|||
* Returns translated name of the day of week for a given date.
|
||||
*
|
||||
* @param mixed $date
|
||||
* (optional) A date object, timestamp, or a date string.
|
||||
* (optional) A DrupalDateTime object or a date string.
|
||||
* Defaults to NULL, which means use the current date.
|
||||
* @param string $abbr
|
||||
* (optional) Whether to return the abbreviated name for that day.
|
||||
|
|
|
@ -36,8 +36,7 @@ class DrupalDateTime extends DateTimePlus {
|
|||
* Constructs a date object.
|
||||
*
|
||||
* @param string $time
|
||||
* A DateTime object, a date/input_time_adjusted string, a unix timestamp.
|
||||
* Defaults to 'now'.
|
||||
* A date/input_time_adjusted string. Defaults to 'now'.
|
||||
* @param mixed $timezone
|
||||
* PHP DateTimeZone object, string or NULL allowed.
|
||||
* Defaults to NULL.
|
||||
|
|
Reference in a new issue