WordPress.org

Make WordPress Core

Ticket #3995: 3995.diff

File 3995.diff, 469 bytes (added by rob1n, 11 years ago)

removes dashes

  • wp-includes/class-IXR.php

     
    616616        $this->second = date('s', $timestamp);
    617617    }
    618618    function parseIso($iso) {
     619                $iso = str_replace('-', '', $iso);
     620               
    619621        $this->year = substr($iso, 0, 4);
    620622        $this->month = substr($iso, 4, 2);
    621623        $this->day = substr($iso, 6, 2);