diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 5dde386..e77caf6 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -904,12 +904,12 @@ function system_requirements($phase) { } } - // Check to see if dates will be limited to 1970-2038. + // Check to see if dates will be limited to 1901-2038. if (PHP_INT_SIZE === 4) { $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 1970-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.'), 'severity' => REQUIREMENT_INFO, ]; } diff --git a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php index 1e10a75..7dcb0a5 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php @@ -309,7 +309,7 @@ public function providerTestDates() { array('2009-06-07 10:30', 'Australia/Canberra', '2009-06-07T10:30:00+10:00'), ); - // On 32-bit systems, timestamps are limited to 1970-2038. + // On 32-bit systems, timestamps are limited to 1901-2038. if (PHP_INT_SIZE !== 4) { // Create a date object in the distant past. $dates[] = array('1809-02-12 10:30', 'America/Chicago', '1809-02-12T10:30:00-06:00');