Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [ResponseOps][Cases] Remove deprecated date format from telemetry (#200331) #200658

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…astic#200331)

## Summary

The Cases telemetry uses a deprecated date format that will not be
supported in 9.0. This PR changes the format of the date set in the
`format` field as suggested here
https://www.elastic.co/blog/locale-changes-elasticsearch-8-16-jdk-23.
Specifically, it changes `Y` to `y`. From the docs:

> In particular, if you are using the Y specifier as part of a calendar
date format, you are probably using it erroneously; Joda time uses Y to
represent year-of-era, but the JDK uses Y to represent week-years. You
need to modify your format to use y instead, or change to a built-in
format.

Fixes: elastic/kibana-team#1188

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 7ace262)
@kibanamachine kibanamachine merged commit 1e5dba6 into elastic:8.x Nov 19, 2024
26 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @cnasikas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants