File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
docs/reference/mapping/params Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,11 @@ The following tables lists all the defaults ISO formats supported:
70
70
(separated by `T`), is optional.
71
71
Examples: `yyyy-MM-dd'T'HH:mm:ss.SSSZ` or `yyyy-MM-dd`.
72
72
73
+ NOTE: When using `date_optional_time`, the parsing is lenient and will attempt to parse
74
+ numbers as a year (e.g. `292278994` will be parsed as a year). This can lead to unexpected results
75
+ when paired with a numeric focused format like `epoch_second` and `epoch_millis`.
76
+ It is recommended you use `strict_date_optional_time` when pairing with a numeric focused format.
77
+
73
78
[[strict-date-time-nanos]]`strict_date_optional_time_nanos`::
74
79
75
80
A generic ISO datetime parser, where the date must include the year at a minimum, and the time
You can’t perform that action at this time.
0 commit comments