Make WordPress Core

Changeset 4998


Ignore:
Timestamp:
03/07/2007 05:04:38 PM (18 years ago)
Author:
ryan
Message:

Fix parse_w3cdtf. Props mortenf. fixes #3896

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/wp-includes/rss.php

    r4718 r4998  
    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.