]> granicus.if.org Git - php/commitdiff
- Fixed bug #23467 (Showing incorrect Time Zone)
authorfoobar <sniper@php.net>
Thu, 12 Feb 2004 01:28:12 +0000 (01:28 +0000)
committerfoobar <sniper@php.net>
Thu, 12 Feb 2004 01:28:12 +0000 (01:28 +0000)
# patch by scottmacvicar at ntlworld dot com

ext/standard/datetime.c

index 4eabf3e58b44fed4cf1b4e82a74fbb2a3fd2f628..32441fc83a2fe03172fa1e8804b2d731c929f3e5 100644 (file)
@@ -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
        }