cvs: php4(PHP_4_3) /ext/standard datetime.c

From: Date: Sun, 06 Apr 2003 22:37:58 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard datetime.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20146@lists.php.net to get a copy of this message
sniper Sun Apr 6 18:37:58 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard datetime.c Log: MFH: Fixed bug #23071 (when DST in effect, date("T") crashed PHP) Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.96.2.6 php4/ext/standard/datetime.c:1.96.2.7 --- php4/ext/standard/datetime.c:1.96.2.6 Sun Feb 9 16:42:31 2003 +++ php4/ext/standard/datetime.c Sun Apr 6 18:37:58 2003 @@ -19,7 +19,7 @@ */ -/* $Id: datetime.c,v 1.96.2.6 2003/02/09 21:42:31 k.schroeder Exp $ */ +/* $Id: datetime.c,v 1.96.2.7 2003/04/06 22:37:58 sniper Exp $ */ #include "php.h" @@ -540,7 +540,7 @@ #if HAVE_TM_ZONE strcat(Z_STRVAL_P(return_value), ta->tm_zone); #elif HAVE_TZNAME - strcat(Z_STRVAL_P(return_value), tname[0]); + strcat(Z_STRVAL_P(return_value), ta->tm_isdst ? tname[1] : tname[0]); #endif break; case 'B': /* Swatch Beat a.k.a. Internet Time */

« previous php.cvs (#20146) next »