public function time(array $tag, $content) {
        $timestamp = is_numeric($content) ? $content : strtotime($content);

        $content = date($this->getConfig('timeFormat'), $timestamp);

        $tag['attributes']['datetime'] = date(DateTime::ISO8601, $timestamp);

        return array($tag, $content);
    }
public function time(array $tag, $content) {
        $timestamp = is_numeric($content) ? $content : strtotime($content);

        $content = date($this->getConfig('timeFormat'), $timestamp);

        $tag['attributes']['datetime'] = date(DateTime::ISO8601, $timestamp);

        return array($tag, $content);
    }
public function time ( array $ tag , $ content ) { $ timestamp = is_numeric ( $ content ) ? $ content : strtotime ( $ content ) ; $ content = date ( $ this -> getConfig ( 'timeFormat' ) , $ timestamp ) ; $ tag [ 'attributes' ] [ 'datetime' ] = date ( DateTime :: ISO8601 , $ timestamp ) ; return array ( $ tag , $ content ) ; }
Parse the timestamps for the time tag.

@param array $tag
@param string $content
@return array
Parse the timestamps for the time tag .