CVS update: php3/functions

From: Date: Mon, 18 Jan 1999 12:53:58 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-3606@lists.php.net to get a copy of this message
Date: Monday January 18, 1999 @ 7:53 Author: rasmus Update of /repository/php3/functions In directory asf:/home/rasmus/php3/functions Modified Files: datetime.c Log Message: Fix checkdate - this seems like a rather odd check, and certainly a Y2K nightmare, so I got rid of it. Index: php3/functions/datetime.c diff -c php3/functions/datetime.c:1.47 php3/functions/datetime.c:1.48 *** php3/functions/datetime.c:1.47 Mon Jan 4 09:25:19 1999 --- php3/functions/datetime.c Mon Jan 18 07:53:57 1999 *************** *** 30,36 **** */ ! /* $Id: datetime.c,v 1.47 1999/01/04 14:25:19 jah Exp $ */ #ifdef THREAD_SAFE --- 30,36 ---- */ ! /* $Id: datetime.c,v 1.48 1999/01/18 12:53:57 rasmus Exp $ */ #ifdef THREAD_SAFE *************** *** 456,463 **** --- 456,465 ---- m = month->value.lval; d = day->value.lval; + #if 0 if (y < 100) y += 1900; + #endif if (y < 0 || y > 32767) { RETURN_FALSE; -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3606) next »