Skip to content

Commit f1522fc

Browse files
authored
[DOCS] Fix range query admon for clarity (#62163) (#62171)
1 parent 6db8ca4 commit f1522fc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/reference/query-dsl/range-query.asciidoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,12 @@ For valid syntax, see <<mapping-date-format,`format`>>.
6565
[WARNING]
6666
====
6767
If a `format` and `date` value are incomplete, {es} replaces any missing year,
68-
month, or date component with the start of
69-
{wikipedia}/Unix_time[Unix time], which is January 1st, 1970.
68+
month, or day component with the
69+
{wikipedia}/Unix_time[Unix epoch], which is January 1st, 1970.
7070
71-
For example, if the `format` value is `dd`, {es} converts a `gte` value of `10`
72-
to `1970-01-10T00:00:00.000Z`.
71+
For example, if the `format` value is `dd`, {es} converts a `gte` value of `22`
72+
to `1970-01-22T00:00:00.000Z`. This date uses `22` as the day of the month but
73+
uses the Unix epoch's year (`1970`) and month (`01`).
7374
====
7475

7576
--

0 commit comments

Comments
 (0)