public function format($content, $conf)
    {
        // set default values
        $inputFormat = $conf['inputFormat'] ?: 'Y-m-d\TH:i:s\Z';
        $outputFormat = $conf['outputFormat'] ?: '';
        return $this->formatService->format($content, $inputFormat, $outputFormat);
    }
public function format($content, $conf)
    {
        // set default values
        $inputFormat = $conf['inputFormat'] ?: 'Y-m-d\TH:i:s\Z';
        $outputFormat = $conf['outputFormat'] ?: '';
        return $this->formatService->format($content, $inputFormat, $outputFormat);
    }
public function format ( $ content , $ conf ) { // set default values $ inputFormat = $ conf [ 'inputFormat' ] ? : 'Y-m-d\TH:i:s\Z' ; $ outputFormat = $ conf [ 'outputFormat' ] ? : '' ; return $ this -> formatService -> format ( $ content , $ inputFormat , $ outputFormat ) ; }
Formats a given date string to another format

@param   string $content the content to process
@param   array $conf typoscript configuration
@return  string formatted  date
Formats a given date string to another format