From f1522fcafca809afe1a3d65c7a874cbf2ebf4be3 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Wed, 9 Sep 2020 10:37:43 -0400 Subject: [PATCH] [DOCS] Fix range query admon for clarity (#62163) (#62171) --- docs/reference/query-dsl/range-query.asciidoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/reference/query-dsl/range-query.asciidoc b/docs/reference/query-dsl/range-query.asciidoc index f7ed686d5f5..f09e3805e16 100644 --- a/docs/reference/query-dsl/range-query.asciidoc +++ b/docs/reference/query-dsl/range-query.asciidoc @@ -65,11 +65,12 @@ For valid syntax, see <<mapping-date-format,`format`>>. [WARNING] ==== If a `format` and `date` value are incomplete, {es} replaces any missing year, -month, or date component with the start of -{wikipedia}/Unix_time[Unix time], which is January 1st, 1970. +month, or day component with the +{wikipedia}/Unix_time[Unix epoch], which is January 1st, 1970. -For example, if the `format` value is `dd`, {es} converts a `gte` value of `10` -to `1970-01-10T00:00:00.000Z`. +For example, if the `format` value is `dd`, {es} converts a `gte` value of `22` +to `1970-01-22T00:00:00.000Z`. This date uses `22` as the day of the month but +uses the Unix epoch's year (`1970`) and month (`01`). ==== --