cvs: php4 /ext/standard datetime.c

From: Date: Sat, 09 Mar 2002 11:23:48 +0000
Subject: cvs: php4 /ext/standard datetime.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9849@lists.php.net to get a copy of this message
sander Sat Mar 9 06:23:48 2002 EDT Modified files: /php4/ext/standard datetime.c Log: Oops... 1 digit is allowed too! Reverting my fix. Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.84 php4/ext/standard/datetime.c:1.85 --- php4/ext/standard/datetime.c:1.84 Fri Mar 8 12:25:43 2002 +++ php4/ext/standard/datetime.c Sat Mar 9 06:23:48 2002 @@ -19,7 +19,7 @@ */ -/* $Id: datetime.c,v 1.84 2002/03/08 17:25:43 sander Exp $ */ +/* $Id: datetime.c,v 1.85 2002/03/09 11:23:48 sander Exp $ */ #include "php.h" @@ -496,7 +496,7 @@ break; case 'r': #if HAVE_TM_GMTOFF - sprintf(tmp_buff, "%3s, %02d %3s %04d %02d:%02d:%02d %c%02d%02d", + sprintf(tmp_buff, "%3s, %2d %3s %04d %02d:%02d:%02d %c%02d%02d", day_short_names[ta->tm_wday], ta->tm_mday, mon_short_names[ta->tm_mon], @@ -509,7 +509,7 @@ abs( ta->tm_gmtoff % 3600) ); #else - sprintf(tmp_buff, "%3s, %02d %3s %04d %02d:%02d:%02d %c%02d%02d", + sprintf(tmp_buff, "%3s, %2d %3s %04d %02d:%02d:%02d %c%02d%02d", day_short_names[ta->tm_wday], ta->tm_mday, mon_short_names[ta->tm_mon],

« previous php.cvs (#9849) next »