Skip to content

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
thecoop committed Sep 27, 2024
1 parent eae18d3 commit 5e3cd28
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/reference/ingest/processors/date.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ the timezone and locale values.
====
// tag::locale-warning[]
The text strings accepted by textual date formats, and calculations for week-dates, depend on the JDK version
that Elasticsearch is running on. For more information see <<jdk-locale,locale database>>.
that Elasticsearch is running on. For more information see <<custom-date-format-locales,custom date formats>>.
// end::locale-warning[]
====
2 changes: 1 addition & 1 deletion docs/reference/mapping/types/date.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ on those dates so they should be avoided.
====
// tag::locale-warning[]
The text strings accepted by textual date formats, and calculations for week-dates, depend on the JDK version
that Elasticsearch is running on. For more information see <<jdk-locale,locale database>>.
that Elasticsearch is running on. For more information see <<custom-date-format-locales,custom date formats>>.
// end::locale-warning[]
====

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/setup/install.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ _CLDR_ database. On JDK version 22 and below, {es} will use the _COMPAT_
database. This may mean that the strings used for textual date formats,
and the output of custom week-date formats, may change when moving from
a previous JDK version to JDK 23 or above. For more information, see
<<custom-date-format-locales,JDK locale differences>>.
<<custom-date-format-locales,custom date formats>>.

[discrete]
[[jvm-agents]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,7 @@ static void checkTextualDateFormats(String format) {
deprecationLogger.warn(
DeprecationCategory.PARSING,
"cldr_date_formats_" + format,
"Date format [{}] contains textual field specifiers that could change in JDK 23."
+ " See [{}] for more information.",
"Date format [{}] contains textual field specifiers that could change in JDK 23. See [{}] for more information.",
format,
ReferenceDocs.JDK_LOCALE_DIFFERENCES
);
Expand All @@ -416,8 +415,7 @@ static void checkTextualDateFormats(String format) {
deprecationLogger.warn(
DeprecationCategory.PARSING,
"cldr_week_dates_" + format,
"Date format [{}] contains week-date field specifiers that are changing in JDK 23."
+ " See [{}] for more information.",
"Date format [{}] contains week-date field specifiers that are changing in JDK 23. See [{}] for more information.",
format,
ReferenceDocs.JDK_LOCALE_DIFFERENCES
);
Expand Down

0 comments on commit 5e3cd28

Please sign in to comment.