WordPress.org

Make WordPress Core

Changeset 4997


Ignore:
Timestamp:
03/07/07 17:04:03 (7 years ago)
Author:
ryan
Message:

Fix parse_w3cdtf. Props mortenf. fixes #3896

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rss.php

    r4718 r4997  
    783783    if ( preg_match( $pat, $date_str, $match ) ) { 
    784784        list( $year, $month, $day, $hours, $minutes, $seconds) = 
    785             array( $match[1], $match[2], $match[3], $match[4], $match[5], $match[6]); 
     785            array( $match[1], $match[2], $match[3], $match[4], $match[5], $match[7]); 
    786786 
    787787        # calc epoch for current date assuming GMT 
     
    789789 
    790790        $offset = 0; 
    791         if ( $match[10] == 'Z' ) { 
     791        if ( $match[11] == 'Z' ) { 
    792792            # zulu time, aka GMT 
    793793        } 
Note: See TracChangeset for help on using the changeset viewer.