protected function addDate(Release $release)
	{
		$content = '';
		$date = $release->getDate();
		if ($date !== null)
		{
			$content = ' - ' . $date->format('Y-m-d');
		}
		return $content;
	}
protected function addDate(Release $release)
	{
		$content = '';
		$date = $release->getDate();
		if ($date !== null)
		{
			$content = ' - ' . $date->format('Y-m-d');
		}
		return $content;
	}
protected function addDate ( Release $ release ) { $ content = '' ; $ date = $ release -> getDate ( ) ; if ( $ date !== null ) { $ content = ' - ' . $ date -> format ( 'Y-m-d' ) ; } return $ content ; }
Adds the date to a Release title for rendering if the Release has a date.

@param Release $release

@return string
Adds the date to a Release title for rendering if the Release has a date .