Docs: Update range-query.asciidoc

Closes #8740
This commit is contained in:
John Michael Luy 2014-12-02 19:15:47 +08:00 committed by Clinton Gormley
parent d7e224da04
commit f20f6ffe22
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ move them to UTC time based date:
In the above example, `gte` will be actually moved to `2011-12-31T23:00:00` UTC date.
NOTE: if you give a date with a timezone explicitly defined and use the `time_zone` parameter, `time_zone` will be
ignored. For example, setting `from` to `2012-01-01T00:00:00+01:00` with `"time_zone":"+10:00"` will still use `+01:00` time zone.
ignored. For example, setting `gte` to `2012-01-01T00:00:00+01:00` with `"time_zone":"+10:00"` will still use `+01:00` time zone.
When applied on `date` fields the `range` query accepts also a `format` parameter.
The `format` parameter will help support another date format than the one defined in mapping: