@@ -330,7 +330,9 @@ public function providerTestDates() {
330330 // Create a date object in the distant past.
331331 // @see https://www.drupal.org/node/2795489#comment-12127088
332332 if (version_compare (PHP_VERSION , '5.6.15 ' , '>= ' )) {
333- $ dates [] = ['1809-02-12 10:30 ' , 'America/Chicago ' , '1809-02-12T10:30:00-06:00 ' ];
333+ // Note that this date is after the United States standardized its
334+ // timezones.
335+ $ dates [] = ['1883-11-19 10:30 ' , 'America/Chicago ' , '1883-11-19T10:30:00-06:00 ' ];
334336 }
335337 // Create a date object in the far future.
336338 $ dates [] = ['2345-01-02 02:04 ' , 'UTC ' , '2345-01-02T02:04:00+00:00 ' ];
@@ -366,7 +368,9 @@ public function providerTestDateArrays() {
366368 // Create a date object in the distant past.
367369 // @see https://www.drupal.org/node/2795489#comment-12127088
368370 if (version_compare (PHP_VERSION , '5.6.15 ' , '>= ' )) {
369- $ dates [] = [['year ' => 1809 , 'month ' => 2 , 'day ' => 12 ], 'America/Chicago ' , '1809-02-12T00:00:00-06:00 ' ];
371+ // Note that this date is after the United States standardized its
372+ // timezones.
373+ $ dates [] = [['year ' => 1883 , 'month ' => 11 , 'day ' => 19 ], 'America/Chicago ' , '1883-11-19T00:00:00-06:00 ' ];
370374 }
371375 // Create a date object in the far future.
372376 $ dates [] = [['year ' => 2345 , 'month ' => 1 , 'day ' => 2 ], 'UTC ' , '2345-01-02T00:00:00+00:00 ' ];
0 commit comments