]> granicus.if.org Git - php/commitdiff
Fixed bug #6409.
authorfoobar <sniper@php.net>
Sun, 3 Sep 2000 03:50:59 +0000 (03:50 +0000)
committerfoobar <sniper@php.net>
Sun, 3 Sep 2000 03:50:59 +0000 (03:50 +0000)
# And propably numerous other..? Either I am wrong or the documentation is.

ext/standard/datetime.c

index c98fd2ead7d028b3f2e2f48aeaf35d70cf2fe608..44298107f79461228f86927aa0da95b8a5709bf9 100644 (file)
@@ -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;
        }