From: foobar Date: Sun, 3 Sep 2000 03:50:59 +0000 (+0000) Subject: Fixed bug #6409. X-Git-Tag: php-4.0.3RC1~357 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a666910848414f2d9704ff2930ccf4071ebd8248;p=php Fixed bug #6409. # And propably numerous other..? Either I am wrong or the documentation is. --- diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c index c98fd2ead7..44298107f7 100644 --- a/ext/standard/datetime.c +++ b/ext/standard/datetime.c @@ -640,9 +640,6 @@ PHP_FUNCTION(checkdate) m = (*month)->value.lval; d = (*day)->value.lval; - if (y < 100) - y += 1900; - if (y < 0 || y > 32767) { RETURN_FALSE; }