Skip to content

Update joda time to 2.10.5#49748

Merged
pgomulka merged 1 commit intoelastic:6.8from
spinscale:1912-update-joda-6.8
May 6, 2020
Merged

Update joda time to 2.10.5#49748
pgomulka merged 1 commit intoelastic:6.8from
spinscale:1912-update-joda-6.8

Conversation

@spinscale
Copy link
Copy Markdown
Contributor

This PR is merely up for discussion. As the joda dependency is in maintenance mode, that main reasons for upgrading are bugs (rather rare) and an update of the timezone database. This is also the reason why I think we should update joda on 6.8, as this needs to be maintained for some time and timezone changes are important to follow through.

The reason for this issue is a forum post with a timezone change from this year (Brazil banning DST), that is only in this years timezone database, the current joda time release in 6.8 however is from 2018. See https://discuss.elastic.co/t/wrong-timezone-in-painless-function/209905/3

@cbuescher cbuescher added the :Core/Infra/Core Core issues without another label label Dec 2, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

@rjernst rjernst requested a review from pgomulka February 26, 2020 03:56
@rjernst
Copy link
Copy Markdown
Member

rjernst commented Feb 26, 2020

@pgomulka Can you please look through the changelog from 2.10.1 to 2.10.5 to see if there is anything alarming? If not it would seem good to get this in, especially since you are adding better backcompat support with joda formats in 7.x.

@pgomulka
Copy link
Copy Markdown
Contributor

it looks safe to me. We already use 2.10.5 so I consider this tested.
I don't find anything alarming that we use in joda in changelist from 2.10.1 - 2.10.5
https://www.joda.org/joda-time/changes-report.html#a2.10.5

the only change of behaviour we could notice would be with fixing Fix calculation of DateTime.withTimeAtStartOfDay() when DST is at midnight. Fixes #488. JodaOrg/joda-time#488

Copy link
Copy Markdown
Contributor

@pgomulka pgomulka left a comment

Choose a reason for hiding this comment

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

LGTM

@rjernst rjernst added the Team:Core/Infra Meta label for core/infra team label May 4, 2020
@pgomulka pgomulka merged commit f2369f6 into elastic:6.8 May 6, 2020
pgomulka pushed a commit to pgomulka/elasticsearch that referenced this pull request May 7, 2020
pgomulka pushed a commit to pgomulka/elasticsearch that referenced this pull request May 7, 2020
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request May 26, 2020
pgomulka added a commit that referenced this pull request May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants