Update range-filter.asciidoc

Closes #8741
This commit is contained in:
John Michael Luy 2014-12-02 21:33:26 +08:00 committed by Clinton Gormley
parent e3ed471d30
commit 01ef80a33d
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,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` filter accepts also a `format` parameter.
The `format` parameter will help support another date format than the one defined in mapping: