public function format($format = null)
    {
        $format ?: $format = $this->format;

        return strtr($format, $this->getFormattedReplacements());
    }
public function format($format = null)
    {
        $format ?: $format = $this->format;

        return strtr($format, $this->getFormattedReplacements());
    }
public function format ( $ format = null ) { $ format ? : $ format = $ this -> format ; return strtr ( $ format , $ this -> getFormattedReplacements ( ) ) ; }
Format the output timey
@param string $format
@return string
Format the output timey