function theme_apachesolr_breadcrumb_date_range in Apache Solr Search 6
Same name and namespace in other branches
- 5.2 apachesolr_search.module \theme_apachesolr_breadcrumb_date_range()
- 6.2 apachesolr_search.module \theme_apachesolr_breadcrumb_date_range()
Proxy theme function for 'created' and 'changed' date fields.
2 calls to theme_apachesolr_breadcrumb_date_range()
File
- ./
apachesolr_search.module, line 1136 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function theme_apachesolr_breadcrumb_date_range($range) {
if (preg_match('@[\\[\\{](\\S+) TO (\\S+)[\\]\\}]@', $range, $match)) {
return apachesolr_date_format_range($match[1], $match[2]);
}
return $range;
}