cvs: php4 /ext/standard datetime.c

From: Date: Sun, 03 Sep 2000 03:50:59 +0000
Subject: cvs: php4 /ext/standard datetime.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1506@lists.php.net to get a copy of this message
sniper Sat Sep 2 20:50:59 2000 EDT Modified files: /php4/ext/standard datetime.c Log: Fixed bug #6409. # And propably numerous other..? Either I am wrong or the documentation is. Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.53 php4/ext/standard/datetime.c:1.54 --- php4/ext/standard/datetime.c:1.53 Mon Aug 21 02:50:52 2000 +++ php4/ext/standard/datetime.c Sat Sep 2 20:50:59 2000 @@ -19,7 +19,7 @@ */ -/* $Id: datetime.c,v 1.53 2000/08/21 09:50:52 sas Exp $ */ +/* $Id: datetime.c,v 1.54 2000/09/03 03:50:59 sniper Exp $ */ #include "php.h" @@ -639,9 +639,6 @@ y = (*year)->value.lval; m = (*month)->value.lval; d = (*day)->value.lval; - - if (y < 100) - y += 1900; if (y < 0 || y > 32767) { RETURN_FALSE;

« previous php.cvs (#1506) next »