From: Derick Rethans Date: Mon, 3 Sep 2007 12:12:51 +0000 (+0000) Subject: - Ugh, fix this properly. X-Git-Tag: RELEASE_2_0_0a1~1889 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14df6eb97541666697622ffe115667edc2213496;p=php - Ugh, fix this properly. --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 53a7f56072..930cec6f1f 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2316,7 +2316,7 @@ PHP_FUNCTION(timezone_transitions_get) array_init(element); add_ascii_assoc_long(element, "ts", tzobj->tz->trans[i]); if (UG(unicode)) { - add_assoc_unicode(element, "time", (UChar*) php_format_date(DATE_FORMAT_ISO8601, 13, tzobj->tz->trans[i], 0 TSRMLS_CC), 0); + add_ascii_assoc_unicode(element, "time", (UChar*) php_format_date(DATE_FORMAT_ISO8601, 13, tzobj->tz->trans[i], 0 TSRMLS_CC), 0); } else { add_assoc_string(element, "time", php_format_date(DATE_FORMAT_ISO8601, 13, tzobj->tz->trans[i], 0 TSRMLS_CC), 0); }