Skip to content

[DOCS] Would like to include some verbiage on java time vs joda time #51236

@jkelastic

Description

@jkelastic

Elasticsearch version (bin/elasticsearch --version): ES 6.8 and ES 7.0

Description of the problem including expected versus actual behavior: Users would benefit from some verbiage describing the migration of joda to java date time format in our official documentation to reflect that recommendation:

https://www.elastic.co/guide/en/elasticsearch/client/curator/current/option_name.html

From our research, we think it's the difference between Joda time and Java time.

The Java time library https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html seems to prefer yyyy to YYYY:

y year-of-era year 2004; 04
Y week-based-year year 1996; 96

Since ISO weeks and years might have changed, that would explain why it suddenly the year said 2020 instead of 2019.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/CoreCore issues without another label>docsGeneral docs changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions