Fixed converted date with time_zone (#4956)
Signed-off-by: toyozaki <61676668+toyozaki@users.noreply.github.com>
This commit is contained in:
parent
516e616f24
commit
5d69b132b0
|
@ -182,7 +182,7 @@ GET /products/_search
|
|||
```
|
||||
{% include copy-curl.html %}
|
||||
|
||||
The preceding query specifies the `-04:00` offset, so the `gte` parameter is converted to `2022-04-17T10:00:00 UTC`.
|
||||
The preceding query specifies the `-04:00` offset, so the `gte` parameter is converted to `2022-04-17T02:00:00 UTC`.
|
||||
|
||||
The `time_zone` parameter does not affect the `now` value.
|
||||
{: .note}
|
||||
|
@ -217,4 +217,4 @@ Parameter | Data type | Description
|
|||
`time_zone` | String | The time zone used to convert [`date`]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/date/) values to UTC in the query. Valid values are ISO 8601 [UTC offsets](https://en.wikipedia.org/wiki/List_of_UTC_offsets) and [IANA time zone IDs](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For more information, see [Time zone](#time-zone).
|
||||
|
||||
If [`search.allow_expensive_queries`]({{site.url}}{{site.baseurl}}/query-dsl/index/#expensive-queries) is set to `false`, range queries on [`text`]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/text/) and [`keyword`]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/keyword/) fields are not run.
|
||||
{: .important}
|
||||
{: .important}
|
||||
|
|
Loading…
Reference in New Issue