Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete documentation on strict_date_optional_time format #50457

Closed
arkel-s opened this issue Dec 23, 2019 · 1 comment · Fixed by #50458
Closed

Incomplete documentation on strict_date_optional_time format #50457

arkel-s opened this issue Dec 23, 2019 · 1 comment · Fixed by #50458
Labels
:Core/Infra/Core Core issues without another label

Comments

@arkel-s
Copy link
Contributor

arkel-s commented Dec 23, 2019

Describe the feature: Explain more how the strict_date_optional_time format.

Today, the documentation here: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html#strict-date-time
is only "A generic ISO datetime parser where the date is mandatory and the time is optional."

There is no format description like the other ones. I had to check in the code what it is exactly:
https://github.com/elastic/elasticsearch/blob/master/server/src/main/java/org/elasticsearch/common/time/DateFormatters.java#L107

arkel-s added a commit to arkel-s/elasticsearch that referenced this issue Dec 23, 2019
Precise the documentation about date_optional_time format.
Closes elastic#50457
@dnhatn dnhatn added the :Core/Infra/Core Core issues without another label label Dec 24, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

jrodewig pushed a commit that referenced this issue Jan 7, 2020
Adds an example format for `date_optional_time` to the `format` mapping
parameter docs.

Closes #50457
jrodewig pushed a commit that referenced this issue Jan 7, 2020
Adds an example format for `date_optional_time` to the `format` mapping
parameter docs.

Closes #50457
jrodewig pushed a commit that referenced this issue Jan 7, 2020
Adds an example format for `date_optional_time` to the `format` mapping
parameter docs.

Closes #50457
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this issue Jan 23, 2020
Adds an example format for `date_optional_time` to the `format` mapping
parameter docs.

Closes elastic#50457
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants