filter.replace(algolia_regex_date_range_start, (full_match, prefix, month, day_year_hour_minute, postfix) => {
return ':' + new Date(month + day_year_hour_minute).getTime().toString() + ' TO'
}).replace(algolia_regex_date_range_end, (full_match, prefix, month, day_year_hour_minute, postfix) => {
return 'TO ' + new Date(month + day_year_hour_minute).getTime().toString() + ' '
}).replace(algolia_regex_date_comparison, (full_match, prefix, leading_white_space, month, day_year_hour_minute, postfix) => {
return prefix + new Date(month + day_year_hour_minute).getTime().toString() + ' '
})