Open peterwebster opened 10 years ago
Execution exception[[SolrServerException: java.text.ParseException: Unparseable date: "1999-01-01"]]
@peterwebster Did they enter the date into the fields or use the datepicker as the fomrat is 'dd/mm/yyyy'
I'll put some validation in for the "input format"
@peterwebster How did the user enter this date format? As I try to type in the format 01-01-1999 it gives me a screen validation.
I typed the dates in as below, and got the same error:
I entered "miss abigail" "01/01/1999" - "01/01/2001" and got the result below. Have you tried clearing your cache?
Just tried this on another machine, and had the same issue
I also tried a different search (with different dates) and got this error, which suggests it isn't the cache.
@peterwebster I'm hitting the same server and it's working with the same search criteria.
Edit I just replicated it on Chrome
Chrome's date in log for 01/01/2000 - 01/01/2008:
fq=crawl_date%3A%5B0006-06-23T00%3A00%3A00Z+TO+0006-07-01T00%3A00%3A00Z%5D
Firefox and IE
fq=crawl_date%3A%5B2000-01-01T00%3A00%3A00Z+TO+2008-01-01T00%3A00%3A00Z%5D
No more "Unparseable date: "2000-01-01
This was due to Chrome's usage of JQuery's datepicker.
Chrome - when selecting a date it does not stick it in the field
Following feedback from user group, I tested the date search, and got an Exception Error from this:
http://www.webarchive.org.uk/shine/search/advanced?query=heritage&tab=concordance&dateStart=1999-01-01&dateEnd=2006-01-01&sort=content_type_norm&order=asc