]> granicus.if.org Git - php/commitdiff
- Ugh, fix this properly.
authorDerick Rethans <derick@php.net>
Mon, 3 Sep 2007 12:12:51 +0000 (12:12 +0000)
committerDerick Rethans <derick@php.net>
Mon, 3 Sep 2007 12:12:51 +0000 (12:12 +0000)
ext/date/php_date.c

index 53a7f56072dd694ab1a58fd467a992d4e3976fa9..930cec6f1fc214724ab320eb83c59ca7a7ef19e6 100644 (file)
@@ -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);
                }