Changed how the date parsing occurs for the filters to be able to support more browsers. This should also be a bit safer than the original code.