Index: typo3/sysext/indexed_search/ext_typoscript_setup.txt =================================================================== --- typo3/sysext/indexed_search/ext_typoscript_setup.txt (revision 7131) +++ typo3/sysext/indexed_search/ext_typoscript_setup.txt (working copy) @@ -5,6 +5,12 @@ plugin.tx_indexedsearch { templateFile = EXT:indexed_search/pi/indexed_search.tmpl + # Date formats for created/modified dates in search results. See PHP date() function. Leave blank for using system defaults + dateFormat { + created = + modified = + } + show { rules = 1 parsetimes = 0 Index: typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php =================================================================== --- typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php (revision 7135) +++ typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php (working copy) @@ -2099,9 +2099,15 @@ $dateFormat = $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy']; $timeFormat = $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm']; + $createdFormat = $this->conf['dateFormat.']['created'] ? + $this->conf['dateFormat.']['created'] : $dateFormat; + $modifiedFormat = $this->conf['dateFormat.']['modified'] ? + $this->conf['dateFormat.']['modified'] : + $dateFormat . ' ' . $timeFormat; + $tmplArray['size'] = t3lib_div::formatSize($row['item_size']); - $tmplArray['created'] = date($dateFormat, $row['item_crdate']); - $tmplArray['modified'] = date($dateFormat.' '.$timeFormat, $row['item_mtime']); + $tmplArray['created'] = date($createdFormat, $row['item_crdate']); + $tmplArray['modified'] = date($modifiedFormat, $row['item_mtime']); $pathId = $row['data_page_id']?$row['data_page_id']:$row['page_id']; $pathMP = $row['data_page_id']?$row['data_page_mp']:'';