derick          Fri Sep  2 05:39:21 2005 EDT

  Modified files:              
    /php-src/ext/date   php_date.c 
  Log:
  - Fixed bad MF51.
  
  
http://cvs.php.net/diff.php/php-src/ext/date/php_date.c?r1=1.49&r2=1.50&ty=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.49 php-src/ext/date/php_date.c:1.50
--- php-src/ext/date/php_date.c:1.49    Tue Aug 30 05:17:56 2005
+++ php-src/ext/date/php_date.c Fri Sep  2 05:39:21 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_date.c,v 1.49 2005/08/30 09:17:56 derick Exp $ */
+/* $Id: php_date.c,v 1.50 2005/09/02 09:39:21 derick Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -492,7 +492,7 @@
                        case 'z': length = date_spprintf(&buffer, 32 TSRMLS_CC, 
"%d", (int) timelib_day_of_year(t->y, t->m, t->d)); break;
 
                        /* week */
-                       case 'W': length = date_spprintf(&buffer, 32 TSRMLS_CC, 
"%0d", (int) isoweek); break; /* iso weeknr */
+                       case 'W': length = date_spprintf(&buffer, 32 TSRMLS_CC, 
"%02d", (int) isoweek); break; /* iso weeknr */
                        case 'o': length = date_spprintf(&buffer, 32 TSRMLS_CC, 
"%d", (int) isoyear); break; /* iso year */
 
                        /* month */

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

Reply via email to