: When I parse DateRange query in a custom RequestHandler I get the date in
: format -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?
...
: Query q = QueryParsing.parseQuery(query, req.getSchema());
: log.d
rams();
String query = p.get(CommonParams.Q);
Query q = QueryParsing.parseQuery(query, req.getSchema());
log.debug(q.toString()); // output the dates in -MM-dd'T'HH:mm:ss format
Cheers!
Hana
--
View this message in context:
http://www.nabble.com/Date-Format-in-QueryParsing-tp215056