CVS update: php3/functions

From: Date: Tue, 08 Jun 1999 14:12:37 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-6713@lists.php.net to get a copy of this message
Date: Tuesday June 8, 1999 @ 10:12 Author: cmv Update of /repository/php3/functions In directory php:/tmp/cvs-serv13454/functions Modified Files: datetime.c Log Message: Well, now that you've changed the docs ... I gotta change the code back! Index: php3/functions/datetime.c diff -u php3/functions/datetime.c:1.58 php3/functions/datetime.c:1.59 --- php3/functions/datetime.c:1.58 Mon Jun 7 17:16:17 1999 +++ php3/functions/datetime.c Tue Jun 8 10:12:37 1999 @@ -30,7 +30,7 @@ */ -/* $Id: datetime.c,v 1.58 1999/06/07 21:16:17 cmv Exp $ */ +/* $Id: datetime.c,v 1.59 1999/06/08 14:12:37 cmv Exp $ */ #ifdef THREAD_SAFE @@ -391,7 +391,7 @@ strcat(return_value->value.str.val, day_short_names[ta->tm_wday]); break; case 'z': /* day (of the year) */ - sprintf(tmp_buff, "%d", ta->tm_yday + 1); /* SAFE */ + sprintf(tmp_buff, "%d", ta->tm_yday); /* SAFE */ strcat(return_value->value.str.val, tmp_buff); break; case 'y': /* year, numeric, 2 digits */

« previous php.dev (#6713) next »