From: foobar Date: Thu, 12 Feb 2004 01:28:12 +0000 (+0000) Subject: - Fixed bug #23467 (Showing incorrect Time Zone) X-Git-Tag: php-5.0.0b4RC1~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b10ce1155c6fb0b96983cd0df4904b90699f90a8;p=php - Fixed bug #23467 (Showing incorrect Time Zone) # patch by scottmacvicar at ntlworld dot com --- diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c index 4eabf3e58b..32441fc83a 100644 --- a/ext/standard/datetime.c +++ b/ext/standard/datetime.c @@ -319,6 +319,10 @@ static void php_date(INTERNAL_FUNCTION_PARAMETERS, int gm) } else { tname[0] = "???"; } + + if (tzname[1] != NULL) { + tname[1] = tzname[1]; + } #endif }