Skip to content

Change default locale of date processors to ENGLISH#112796

Merged
thecoop merged 2 commits intoelastic:mainfrom
thecoop:english-date-processors
Sep 24, 2024
Merged

Change default locale of date processors to ENGLISH#112796
thecoop merged 2 commits intoelastic:mainfrom
thecoop:english-date-processors

Conversation

@thecoop
Copy link
Copy Markdown
Member

@thecoop thecoop commented Sep 12, 2024

This resolves #112692

Field mappers are covered by #112799

@thecoop thecoop added >bug :Distributed/Ingest Node Execution or management of Ingest Pipelines v8.16.0 labels Sep 12, 2024
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine elasticsearchmachine added Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v9.0.0 labels Sep 12, 2024
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @thecoop, I've created a changelog YAML for you.

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @thecoop, I've updated the changelog YAML for you. Note that since this PR is labelled >breaking, you need to update the changelog YAML to fill out the extended information sections.

@thecoop
Copy link
Copy Markdown
Member Author

thecoop commented Sep 12, 2024

The test failures is due to IsoCalendarDataProvider, introduced by #48209, only being specified for ROOT - this means the first day-of-week is Sunday rather than Monday, changing the week-of-year calculations. See #112801 for the immediate fix.

@dakrone
Copy link
Copy Markdown
Member

dakrone commented Sep 18, 2024

@elasticmachine update branch

@joegallo joegallo self-assigned this Sep 19, 2024
@joegallo joegallo self-requested a review September 19, 2024 19:18
Copy link
Copy Markdown
Contributor

@joegallo joegallo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

We'll need to add a docs PR that fixes the previously-wrong documentation on pre-8.16 branches. That is, we documented that the default locale for date processors was english, but it's always been root. I'll take that as a task for 8.16.

@thecoop
Copy link
Copy Markdown
Member Author

thecoop commented Sep 24, 2024

@elasticmachine update branch

@thecoop thecoop added the auto-backport Automatically create backport pull requests when merged label Sep 24, 2024
@thecoop thecoop merged commit d582db2 into elastic:main Sep 24, 2024
@thecoop thecoop deleted the english-date-processors branch September 24, 2024 08:54
thecoop added a commit to thecoop/elasticsearch that referenced this pull request Sep 24, 2024
It is English in the docs, so this fixes the code to match the docs. Note that this really impacts Elasticsearch when run on JDK 23 with the CLDR locale database, as in the COMPAT database pre-23, root and en are essentially the same.
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
8.x

thecoop added a commit that referenced this pull request Sep 24, 2024
It is English in the docs, so this fixes the code to match the docs. Note that this really impacts Elasticsearch when run on JDK 23 with the CLDR locale database, as in the COMPAT database pre-23, root and en are essentially the same.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged blocker :Distributed/Ingest Node Execution or management of Ingest Pipelines >non-issue Team:Data Management (obsolete) DO NOT USE. This team no longer exists. test-update-serverless v8.16.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change default locale of date processors to english

5 participants