浏览代码

[DOCS] Add example format for `date_optional_time` (#50458)

Adds an example format for `date_optional_time` to the `format` mapping
parameter docs.

Closes #50457
arkel-s 5 年之前
父节点
当前提交
f20367e405
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/reference/mapping/params/format.asciidoc

+ 3 - 3
docs/reference/mapping/params/format.asciidoc

@@ -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`::
 
@@ -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`.
-