Date: 06/08/99
- Next message: Adam Trachtenberg: "Re: [PHP-DEV] CVS update: php3/functions"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] 1999 Atlanta Linux Showcase (fwd)"
- Next in thread: Adam Trachtenberg: "Re: [PHP-DEV] CVS update: php3/functions"
- Reply: Adam Trachtenberg: "Re: [PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 */
-- PHP Development Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Adam Trachtenberg: "Re: [PHP-DEV] CVS update: php3/functions"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] 1999 Atlanta Linux Showcase (fwd)"
- Next in thread: Adam Trachtenberg: "Re: [PHP-DEV] CVS update: php3/functions"
- Reply: Adam Trachtenberg: "Re: [PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

