Passing date field throw rest

Hi all,

I am using PHP to write REST query to ES .I am trying to search my ES with
a query that contains date field. This is my query:
{"query":{"bool":{"must":{"range":{"timeGenerated":{"from":"2013/4/1
09:14:08","to":"2013/4/1 09:14:08"}}}}}}

When I try this query it gives me no response from server -not empty-. When
I remove the time portion from the date, it works!
{"query":{"bool":{"must":{"range":{"timeGenerated":{"from":"2013/4/1","to":"2013/4/1"}}}}}}

Also I tried the tow queries from curl command line and it works fine.

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.