summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2000-09-03 03:50:59 +0000
committerfoobar <sniper@php.net>2000-09-03 03:50:59 +0000
commita666910848414f2d9704ff2930ccf4071ebd8248 (patch)
tree234490a896304475e020e27767aea850e4038808 /ext
parent6ff7c9afd82d68cfd7108dc9634905091b85525b (diff)
downloadphp-git-a666910848414f2d9704ff2930ccf4071ebd8248.tar.gz
Fixed bug #6409.
# And propably numerous other..? Either I am wrong or the documentation is.
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/datetime.c3
1 files changed, 0 insertions, 3 deletions
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;
}