diff -u b/core/lib/Drupal/Component/Datetime/DateTimePlus.php b/core/lib/Drupal/Component/Datetime/DateTimePlus.php --- b/core/lib/Drupal/Component/Datetime/DateTimePlus.php +++ b/core/lib/Drupal/Component/Datetime/DateTimePlus.php @@ -177,7 +177,7 @@ * 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/datetime.createfromformat.php + * @see http://php.net/manual/datetime.createfromformat.php * @param mixed $time * @see __construct() * @param mixed $timezone @@ -389,7 +389,7 @@ * 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/time.getlasterrors.php + * @see http://php.net/manual/time.getlasterrors.php */ public function checkErrors() { $errors = \DateTime::getLastErrors(); diff -u b/core/modules/views/src/Plugin/views/field/Date.php b/core/modules/views/src/Plugin/views/field/Date.php --- b/core/modules/views/src/Plugin/views/field/Date.php +++ b/core/modules/views/src/Plugin/views/field/Date.php @@ -111,7 +111,7 @@ $form['custom_date_format'] = array( '#type' => 'textfield', '#title' => $this->t('Custom date format'), - '#description' => $this->t('If "Custom", see the PHP docs for date formats. Otherwise, enter the number of different time units to display, which defaults to 2.'), + '#description' => $this->t('If "Custom", see the PHP docs for date formats. Otherwise, enter the number of different time units to display, which defaults to 2.'), '#default_value' => isset($this->options['custom_date_format']) ? $this->options['custom_date_format'] : '', ); // Setup #states for all possible date_formats on the custom_date_format form element.