I wanted to change the hour format on the solr facet created block from ex. 8 PM to 20:00 but didn't find a way to do this because the date formats were in code. I made them configurable on the block instead.

I also made the dates translatable if you are using the date module.

CommentFileSizeAuthor
apachesolr_created_date_format.patch3.72 KBfreakalis

Comments

robertdouglass’s picture

Looks good on first inspection. Will have to circle back on it in a bit. Thanks!

jpmckinney’s picture

Component: Code » Language
jpmckinney’s picture

Version: 6.x-1.0-rc2 » 6.x-1.x-dev
nick_vh’s picture

Status: Needs review » Closed (won't fix)

Closing this, facetapi for 6.x-3.x will fix this templating problem. No new features for the 6.x-1.x branch