diff options
-rw-r--r-- | ext/standard/datetime.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |