Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [ResponseOps][Cases] Remove deprecated date format from telemet…
…ry (#200331) (#200658) # Backport This will backport the following commits from `main` to `8.x`: - [[ResponseOps][Cases] Remove deprecated date format from telemetry (#200331)](#200331) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Christos Nasikas","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-18T22:30:16Z","message":"[ResponseOps][Cases] Remove deprecated date format from telemetry (#200331)\n\n## Summary\r\n\r\nThe Cases telemetry uses a deprecated date format that will not be\r\nsupported in 9.0. This PR changes the format of the date set in the\r\n`format` field as suggested here\r\nhttps://www.elastic.co/blog/locale-changes-elasticsearch-8-16-jdk-23.\r\nSpecifically, it changes `Y` to `y`. From the docs:\r\n\r\n> In particular, if you are using the Y specifier as part of a calendar\r\ndate format, you are probably using it erroneously; Joda time uses Y to\r\nrepresent year-of-era, but the JDK uses Y to represent week-years. You\r\nneed to modify your format to use y instead, or change to a built-in\r\nformat.\r\n\r\nFixes: https://github.com/elastic/kibana-team/issues/1188\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"7ace26213d6e7e493144c70a4f408cb9939d1fb0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","Feature:Cases","backport:prev-minor","v8.17.0","v8.18.0"],"title":"[ResponseOps][Cases] Remove deprecated date format from telemetry","number":200331,"url":"https://github.com/elastic/kibana/pull/200331","mergeCommit":{"message":"[ResponseOps][Cases] Remove deprecated date format from telemetry (#200331)\n\n## Summary\r\n\r\nThe Cases telemetry uses a deprecated date format that will not be\r\nsupported in 9.0. This PR changes the format of the date set in the\r\n`format` field as suggested here\r\nhttps://www.elastic.co/blog/locale-changes-elasticsearch-8-16-jdk-23.\r\nSpecifically, it changes `Y` to `y`. From the docs:\r\n\r\n> In particular, if you are using the Y specifier as part of a calendar\r\ndate format, you are probably using it erroneously; Joda time uses Y to\r\nrepresent year-of-era, but the JDK uses Y to represent week-years. You\r\nneed to modify your format to use y instead, or change to a built-in\r\nformat.\r\n\r\nFixes: https://github.com/elastic/kibana-team/issues/1188\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"7ace26213d6e7e493144c70a4f408cb9939d1fb0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.18"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200331","number":200331,"mergeCommit":{"message":"[ResponseOps][Cases] Remove deprecated date format from telemetry (#200331)\n\n## Summary\r\n\r\nThe Cases telemetry uses a deprecated date format that will not be\r\nsupported in 9.0. This PR changes the format of the date set in the\r\n`format` field as suggested here\r\nhttps://www.elastic.co/blog/locale-changes-elasticsearch-8-16-jdk-23.\r\nSpecifically, it changes `Y` to `y`. From the docs:\r\n\r\n> In particular, if you are using the Y specifier as part of a calendar\r\ndate format, you are probably using it erroneously; Joda time uses Y to\r\nrepresent year-of-era, but the JDK uses Y to represent week-years. You\r\nneed to modify your format to use y instead, or change to a built-in\r\nformat.\r\n\r\nFixes: https://github.com/elastic/kibana-team/issues/1188\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"7ace26213d6e7e493144c70a4f408cb9939d1fb0"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Christos Nasikas <[email protected]>
- Loading branch information