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

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

I only have to do :
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:


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
For more options, visit