From: foobar Date: Thu, 12 Feb 2004 01:29:13 +0000 (+0000) Subject: MFH: - Fixed bug #23467 (Showing incorrect Time Zone) X-Git-Tag: php-4.3.5RC3~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fafe8a19b811d281215b065462a54a04e138ffa6;p=php MFH: - 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 75e42670d2..0416f3dda1 100644 --- a/ext/standard/datetime.c +++ b/ext/standard/datetime.c @@ -324,6 +324,10 @@ php_date(INTERNAL_FUNCTION_PARAMETERS, int gm) } else { tname[0] = "???"; } + + if (tzname[1] != NULL) { + tname[1] = tzname[1]; + } #endif }