Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes

This commit is contained in:
Pantheon Automation 2016-04-20 09:56:34 -07:00 committed by Greg Anderson
parent b11a755ba8
commit c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions

View file

@ -1,9 +1,5 @@
<?php
/**
* @file
* Contains \Drupal\Component\Datetime\DateTimePlus.
*/
namespace Drupal\Component\Datetime;
use Drupal\Component\Utility\ToStringTrait;
@ -177,7 +173,7 @@ class DateTimePlus {
* to use things like negative years, which php's parser fails on, or
* any other specialized input with a known format. If provided the
* date will be created using the createFromFormat() method.
* @see http://us3.php.net/manual/en/datetime.createfromformat.php
* @see http://php.net/manual/datetime.createfromformat.php
* @param mixed $time
* @see __construct()
* @param mixed $timezone
@ -389,7 +385,7 @@ class DateTimePlus {
* PHP creates a valid date from invalid data with only a warning,
* 2011-02-30 becomes 2011-03-03, for instance, but we don't want that.
*
* @see http://us3.php.net/manual/en/time.getlasterrors.php
* @see http://php.net/manual/time.getlasterrors.php
*/
public function checkErrors() {
$errors = \DateTime::getLastErrors();