Modifications to date_facets module by Chris Pliakas