What steps will reproduce the problem?
1. Index a date before 1000-01-01
2. do a search that returns that record
What is the expected output? What do you see instead?
I expect search results, though the code throws a ValueError exception.
In this case, the date string returned from Solr is: "209-01-01T08:00:00Z"
What version of the product are you using? On what operating system?
solrpy==0.9.5 on Debian Linux with Solr 3.4.0
Please provide any additional information below.
It looks like utc_from_string expects Solr to return a 4 digit year, though
this apparently isn't always the case. Let me know if I can provide any more
useful info.
Original issue reported on code.google.com by
smcdon...@bepress.comon 4 Oct 2012 at 11:24