parent
6db8ca4113
commit
f1522fcafc
|
@ -65,11 +65,12 @@ For valid syntax, see <<mapping-date-format,`format`>>.
|
||||||
[WARNING]
|
[WARNING]
|
||||||
====
|
====
|
||||||
If a `format` and `date` value are incomplete, {es} replaces any missing year,
|
If a `format` and `date` value are incomplete, {es} replaces any missing year,
|
||||||
month, or date component with the start of
|
month, or day component with the
|
||||||
{wikipedia}/Unix_time[Unix time], which is January 1st, 1970.
|
{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`
|
For example, if the `format` value is `dd`, {es} converts a `gte` value of `22`
|
||||||
to `1970-01-10T00:00:00.000Z`.
|
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`).
|
||||||
====
|
====
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue