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

ext/standard/datetime.c

index 75e42670d26e587aaeacf2e1812145195af82cd7..0416f3dda1fa6b7b89dc3341af35780b798f5a28 100644 (file)
@@ -324,6 +324,10 @@ php_date(INTERNAL_FUNCTION_PARAMETERS, int gm)
                } else {
                        tname[0] = "???";
                }
+
+               if (tzname[1] != NULL) {
+                       tname[1] = tzname[1];
+               }
 #endif
        }