-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Description
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.