If you haven't already solved your problem here's one tip:
The start key parameter should be named "startkey", all lowercase. You
seems to be using "startKey".
Besides that, Ektorp provides a convenience class
org.ektorp.ComplexKey that helps you with creating complex keys.
Take a look at it.
/Henrik
Essentially, the Date.parse() doesn't like the +0000 on the timestamps. By doing a substring and removing the +0000, everything worked.
For the record,
document.write(new Date("2012-02-13T16:18:19.565+0000")); //Outputs Invalid
Date
document.write(Date.parse("2012-02-13T16:18:19.565+0000")); //Outputs NaN
But if you remove the +0000, both lines of code work perfectly."
Mathieu Did you ever figure out how to do this? I'm have same issue trying to query with a key and dateRange. An examples or direction appreciated.