Merge branch 'master' into merge/query-refactoring
This commit is contained in:
commit
3d3197342d
|
@ -109,12 +109,11 @@ accepts it), or it can be specified as the `time_zone` parameter:
|
||||||
"range" : {
|
"range" : {
|
||||||
"timestamp" : {
|
"timestamp" : {
|
||||||
"gte": "2015-01-01 00:00:00", <1>
|
"gte": "2015-01-01 00:00:00", <1>
|
||||||
"lte": "now",
|
"lte": "now", <2>
|
||||||
"time_zone": "+01:00"
|
"time_zone": "+01:00"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
<1> This date will be converted to `2014-12-31T23:00:00 UTC`.
|
<1> This date will be converted to `2014-12-31T23:00:00 UTC`.
|
||||||
|
<2> `now` is not affected by the `time_zone` parameter (dates must be stored as UTC).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue