From b10ce1155c6fb0b96983cd0df4904b90699f90a8 Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 12 Feb 2004 01:28:12 +0000 Subject: [PATCH] - 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 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 } -- 2.50.1