[wp-trac] Re: [WordPress Trac] #3896: Wrong indices in match array in parse_w3cdtf

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 7 15:49:32 GMT 2007


#3896: Wrong indices in match array in parse_w3cdtf
-----------------------+----------------------------------------------------
 Reporter:  mortenf    |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  normal     |    Milestone:  2.1.3    
Component:  General    |      Version:  2.1.1    
 Severity:  critical   |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by jhodgdon):

 I believe this patch is good.

 I just did a little test program to parse a date string (which I will
 attach directly), and found that array item 7 has the seconds, and number
 11 has the "Z" if present. The current rss.php (as of SVN revision [4718]
 of rss.php) definitely has the indices wrong (6 and 10 respectively), and
 the patch fixes it.

 So I recommend installing this patch.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3896#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list