Date modified during query building

Hello everyone,

Elastic Search's JSON Parser seems to modify the date i'm passing to the
termQuery/fieldQuery method even before i connect to my ElasticSearch
server:

An object of type Date defined at the 13th september 2013. I check it in
debug:
Fri Sep 13 00:00:00 CEST 2013

I only have to do :
QueryBuilders.termQuery(".................",myDate)
to get in debug:
{ "term" : { "................." : "2013-09-12T22:00:00.000Z" } }

My question is how to prevent my date to be modified here ?

I would be very happy and graceful if you would take the time to help me :slight_smile:

Regards,

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.