derick          Mon Sep  3 12:12:51 2007 UTC

  Modified files:              
    /php-src/ext/date   php_date.c 
  Log:
  - Ugh, fix this properly.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.144&r2=1.145&diff_format=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.144 php-src/ext/date/php_date.c:1.145
--- php-src/ext/date/php_date.c:1.144   Mon Sep  3 12:03:46 2007
+++ php-src/ext/date/php_date.c Mon Sep  3 12:12:51 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_date.c,v 1.144 2007/09/03 12:03:46 derick Exp $ */
+/* $Id: php_date.c,v 1.145 2007/09/03 12:12:51 derick Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -2316,7 +2316,7 @@
                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);
                }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to