diff --git a/core/modules/system/system.install b/core/modules/system/system.install index ae3f4b8..b03e313 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -934,10 +934,10 @@ function system_requirements($phase) { $requirements['limited_date_range'] = [ 'title' => t('Limited Date Range'), 'value' => t('Your PHP installation has a limited date range.'), - 'description' => t('You are running on a system where PHP is compiled or limited to using 32-bit integers. This will limit the range of dates and timestamps to the years 1901-2038.'), + 'description' => t('You are running on a system where PHP is compiled or limited to using 32-bit integers. This will limit the range of dates and timestamps to the years 1901-2038. Read More about 2038 bug.'), 'severity' => REQUIREMENT_WARNING, - ]; - } + ]; + } return $requirements; } diff --git a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php index f249fad..2b83a16 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php @@ -330,7 +330,7 @@ public function providerTestDates() { * @see DateTimePlusTest::testDates() */ public function providerTestDateArrays() { - $dates = [ + $dates = [ // Array input. // Create date object from date array, date only. [['year' => 2010, 'month' => 2, 'day' => 28], 'America/Chicago', '2010-02-28T00:00:00-06:00'], @@ -345,9 +345,9 @@ public function providerTestDateArrays() { // On 32-bit systems, timestamps are limited to 1901-2038. if (PHP_INT_SIZE !== 4) { // Create a date object in the distant past. - $dates[] = [['year' => 1809, 'month' => 2, 'day' => 12], 'America/Chicago', '1809-02-12T00:00:00-06:00']; - // Create a date object in the far future. - $dates[] = [['year' => 2345, 'month' => 1, 'day' => 2], 'UTC', '2345-01-02T00:00:00+00:00']; + $dates[] = [['year' => 1809, 'month' => 2, 'day' => 12], 'America/Chicago', '1809-02-12T00:00:00-06:00']; + // Create a date object in the far future. + $dates[] = [['year' => 2345, 'month' => 1, 'day' => 2], 'UTC', '2345-01-02T00:00:00+00:00']; } return $dates;