Hi

When I parse DateRange query in a custom RequestHandler I get the date in
format yyyy-MM-dd'T'HH:mm:ss, but I would like it with the trailling 'Z' for
UTC time. Is there a way how to set the desired date format?

Here is a snippet of the code:

SolrParams p = req.getParams();
String query = p.get(CommonParams.Q);
Query q = QueryParsing.parseQuery(query, req.getSchema());
log.debug(q.toString()); // output the dates in yyyy-MM-dd'T'HH:mm:ss format

Cheers! 

Hana

-- 
View this message in context: 
http://www.nabble.com/Date-Format-in-QueryParsing-tp21505639p21505639.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to