Skip to content

Commit

Permalink
[DOCS] Add example format for date_optional_time (elastic#50458)
Browse files Browse the repository at this point in the history
Adds an example format for `date_optional_time` to the `format` mapping
parameter docs.

Closes elastic#50457
  • Loading branch information
arkel-s authored and SivagurunathanV committed Jan 21, 2020
1 parent 8594283 commit eb7bf44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/mapping/params/format.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ The following tables lists all the defaults ISO formats supported:

[[strict-date-time]]`date_optional_time` or `strict_date_optional_time`::

A generic ISO datetime parser where the date is mandatory and the time is
optional.
A generic ISO datetime parser where the date, in `year_month_day format`, is
mandatory and the time, separated by `T`, is optional.
Examples: `yyyy-MM-dd'T'HH:mm:ss.SSSZ` or `yyyy-MM-dd`.

`basic_date`::

Expand Down Expand Up @@ -281,4 +282,3 @@ The following tables lists all the defaults ISO formats supported:

A formatter for a four digit year, two digit month of year, and two digit
day of month: `yyyy-MM-dd`.

0 comments on commit eb7bf44

Please sign in to comment.