Skip to content

Commit 97ed0a9

Browse files
authored
Make a minor change to trigger release note process (#113975)
* changelog entry
1 parent 5c1a3ad commit 97ed0a9

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

docs/changelog/113975.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
pr: 113975
2+
summary: JDK locale database change
3+
area: Mapping
4+
type: breaking
5+
issues: []
6+
breaking:
7+
title: JDK locale database change
8+
area: Mapping
9+
details: |
10+
{es} 8.16 changes the version of the JDK that is included from version 22 to version 23. This changes the locale database that is used by Elasticsearch from the COMPAT database to the CLDR database. This change can cause significant differences to the textual date formats accepted by Elasticsearch, and to calculated week-dates.
11+
12+
If you run {es} 8.16 on JDK version 22 or below, it will use the COMPAT locale database to match the behavior of 8.15. However, starting with {es} 9.0, {es} will use the CLDR database regardless of JDK version it is run on.
13+
impact: |
14+
This affects you if you use custom date formats using textual or week-date field specifiers. If you use date fields or calculated week-dates that change between the COMPAT and CLDR databases, then this change will cause Elasticsearch to reject previously valid date fields as invalid data. You might need to modify your ingest or output integration code to account for the differences between these two JDK versions.
15+
16+
Starting in version 8.15.2, Elasticsearch will log deprecation warnings if you are using date format specifiers that might change on upgrading to JDK 23. These warnings are visible in Kibana.
17+
18+
For detailed guidance, refer to <<custom-date-format-locales,Differences in locale information between JDK versions>> and the https://ela.st/jdk-23-locales[Elastic blog].
19+
notable: true

docs/reference/mapping/params/format.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ down to the nearest day.
3434
Completely customizable date formats are supported. The syntax for these is explained in
3535
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/time/format/DateTimeFormatter.html[DateTimeFormatter docs].
3636

37-
Note that whilst the built-in formats for week dates use the ISO definition of weekyears,
37+
Note that while the built-in formats for week dates use the ISO definition of weekyears,
3838
custom formatters using the `Y`, `W`, or `w` field specifiers use the JDK locale definition
3939
of weekyears. This can result in different values between the built-in formats and custom formats
4040
for week dates.
4141

4242
[[built-in-date-formats]]
43-
==== Built In Formats
43+
==== Built-in formats
4444

4545
Most of the below formats have a `strict` companion format, which means that
4646
year, month and day parts of the month must use respectively 4, 2 and 2 digits

0 commit comments

Comments
 (0)