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

Bump moment-timezone to the latest version #155832

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

pgayvallet
Copy link
Contributor

@pgayvallet pgayvallet commented Apr 26, 2023

Summary

Fix #155792

Bump moment-timezone from 0.5.34 to 0.5.43 (latest version) to include latest timezone changes

Release Note

Fix a bug causing the latest timezone changes to not be taken into account for date formatting (e.g Mexico 2023)

@pgayvallet pgayvallet added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:fix v8.9.0 backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v8.8.0 labels Apr 26, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kbnUiSharedDeps-npmDll 5.4MB 6.0MB ⚠️ +573.5KB
Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 17 19 +2
securitySolution 399 402 +3
total +5

Total ESLint disabled count

id before after diff
enterpriseSearch 18 20 +2
securitySolution 479 482 +3
total +5

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pgayvallet pgayvallet marked this pull request as ready for review April 26, 2023 12:44
@pgayvallet pgayvallet requested a review from a team as a code owner April 26, 2023 12:44
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@pgayvallet pgayvallet requested a review from a team April 26, 2023 12:45
Copy link
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

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

LGTM

@TinaHeiligers
Copy link
Contributor

@pgayvallet is there a risk in backporting to 7.17? The timezone issue also needs to be fixed for clusters that haven't upgraded to 8 yet.

@pgayvallet pgayvallet added backport:all-open Backport to all branches that could still receive a release and removed backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Apr 27, 2023
@pgayvallet
Copy link
Contributor Author

is there a risk in backporting to 7.17? The timezone issue also needs to be fixed for clusters that haven't upgraded to 8 yet.

I don't know, we'll see what the CI tells us

@pgayvallet pgayvallet merged commit 2250020 into elastic:main Apr 27, 2023
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Apr 27, 2023
## Summary

Fix elastic#155792

Bump `moment-timezone` from `0.5.34` to `0.5.43` (latest version) to
include latest timezone changes

## Release Note

Fix a bug causing the latest timezone changes to not be taken into
account for date formatting (e.g Mexico 2023)

(cherry picked from commit 2250020)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
7.17 Backport failed because of merge conflicts
8.8

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 155832

Questions ?

Please refer to the Backport tool documentation

pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Apr 27, 2023
## Summary

Fix elastic#155792

Bump `moment-timezone` from `0.5.34` to `0.5.43` (latest version) to
include latest timezone changes

## Release Note

Fix a bug causing the latest timezone changes to not be taken into
account for date formatting (e.g Mexico 2023)

(cherry picked from commit 2250020)

# Conflicts:
#	package.json
#	x-pack/plugins/license_management/__jest__/__snapshots__/license_page_header.test.js.snap
#	yarn.lock
@pgayvallet
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
7.17

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Apr 27, 2023
# Backport

This will backport the following commits from `main` to `8.8`:
- [Bump `moment-timezone` to the latest version
(#155832)](#155832)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2023-04-27T05:44:18Z","message":"Bump
`moment-timezone` to the latest version (#155832)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/155792\r\n\r\nBump
`moment-timezone` from `0.5.34` to `0.5.43` (latest version)
to\r\ninclude latest timezone changes\r\n\r\n## Release Note\r\n\r\nFix
a bug causing the latest timezone changes to not be taken
into\r\naccount for date formatting (e.g Mexico
2023)","sha":"2250020b814e379cb4432f0bc1ff6f56dc350def","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:fix","backport:all-open","v8.8.0","v8.9.0"],"number":155832,"url":"https://github.com/elastic/kibana/pull/155832","mergeCommit":{"message":"Bump
`moment-timezone` to the latest version (#155832)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/155792\r\n\r\nBump
`moment-timezone` from `0.5.34` to `0.5.43` (latest version)
to\r\ninclude latest timezone changes\r\n\r\n## Release Note\r\n\r\nFix
a bug causing the latest timezone changes to not be taken
into\r\naccount for date formatting (e.g Mexico
2023)","sha":"2250020b814e379cb4432f0bc1ff6f56dc350def"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155832","number":155832,"mergeCommit":{"message":"Bump
`moment-timezone` to the latest version (#155832)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/155792\r\n\r\nBump
`moment-timezone` from `0.5.34` to `0.5.43` (latest version)
to\r\ninclude latest timezone changes\r\n\r\n## Release Note\r\n\r\nFix
a bug causing the latest timezone changes to not be taken
into\r\naccount for date formatting (e.g Mexico
2023)","sha":"2250020b814e379cb4432f0bc1ff6f56dc350def"}}]}] BACKPORT-->

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
pgayvallet added a commit that referenced this pull request May 1, 2023
# Backport

This will backport the following commits from `main` to `7.17`:
- [Bump `moment-timezone` to the latest version
(#155832)](#155832)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2023-04-27T05:44:18Z","message":"Bump
`moment-timezone` to the latest version (#155832)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/155792\r\n\r\nBump
`moment-timezone` from `0.5.34` to `0.5.43` (latest version)
to\r\ninclude latest timezone changes\r\n\r\n## Release Note\r\n\r\nFix
a bug causing the latest timezone changes to not be taken
into\r\naccount for date formatting (e.g Mexico
2023)","sha":"2250020b814e379cb4432f0bc1ff6f56dc350def","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:fix","backport:all-open","v8.8.0","v8.9.0"],"number":155832,"url":"https://github.com/elastic/kibana/pull/155832","mergeCommit":{"message":"Bump
`moment-timezone` to the latest version (#155832)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/155792\r\n\r\nBump
`moment-timezone` from `0.5.34` to `0.5.43` (latest version)
to\r\ninclude latest timezone changes\r\n\r\n## Release Note\r\n\r\nFix
a bug causing the latest timezone changes to not be taken
into\r\naccount for date formatting (e.g Mexico
2023)","sha":"2250020b814e379cb4432f0bc1ff6f56dc350def"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/155969","number":155969,"state":"OPEN"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155832","number":155832,"mergeCommit":{"message":"Bump
`moment-timezone` to the latest version (#155832)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/155792\r\n\r\nBump
`moment-timezone` from `0.5.34` to `0.5.43` (latest version)
to\r\ninclude latest timezone changes\r\n\r\n## Release Note\r\n\r\nFix
a bug causing the latest timezone changes to not be taken
into\r\naccount for date formatting (e.g Mexico
2023)","sha":"2250020b814e379cb4432f0bc1ff6f56dc350def"}}]}] BACKPORT-->

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@mistic
Copy link
Member

mistic commented May 2, 2023

This PR didn't make it into the latest build candidate of v7.17.10. Updating the labels.

@mistic mistic removed the v7.17.10 label May 2, 2023
@mistic mistic added the v7.17.11 label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:all-open Backport to all branches that could still receive a release release_note:fix Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.17.11 v8.8.0 v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade moment-timezone to include latest changes to timezones
8 participants