Merge branch 'master' into PHP8-Testing
This commit is contained in:
commit
b44eb85b9f
|
@ -489,7 +489,7 @@ class DateTime
|
|||
if ($yearFound) {
|
||||
array_unshift($t1, 1);
|
||||
} else {
|
||||
if ($t1[1] > 29) {
|
||||
if (is_numeric($t1[1]) && $t1[1] > 29) {
|
||||
$t1[1] += 1900;
|
||||
array_unshift($t1, 1);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue