From fafe8a19b811d281215b065462a54a04e138ffa6 Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 12 Feb 2004 01:29:13 +0000 Subject: [PATCH] MFH: - Fixed bug #23467 (Showing incorrect Time Zone) # patch by scottmacvicar at ntlworld dot com --- ext/standard/datetime.c | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- 2.50.1