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

Replace joda-time dependency with java.time #125

Merged
merged 3 commits into from
Oct 21, 2021
Merged

Conversation

jglick
Copy link
Member

@jglick jglick commented Oct 20, 2021

jenkinsci/bom#682 (comment)

Tried to follow https://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html though it was not particularly helpful. This code compiles; whether it works, I cannot say (I do not even know what the functionality being edited here is for).

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

Thanks!

@TobiX
Copy link
Contributor

TobiX commented Oct 20, 2021

Was planning to get rid of joda-time, but hadn't found the time yet... If I realized it were just 2 or 3 places...

@TobiX
Copy link
Contributor

TobiX commented Oct 20, 2021

Well, tests run again, but they don't test the actual values used, so I don't know if the result is the same as before... Will merge if nobody objects in the coming days...

@jglick
Copy link
Member Author

jglick commented Oct 20, 2021

Amendments look right. I am not experienced in java.time, really just guessing.

@TobiX TobiX merged commit 96ae302 into jenkinsci:master Oct 21, 2021
@TobiX TobiX added the dependencies Update dependencies label Oct 21, 2021
@jglick jglick deleted the java.time branch October 21, 2021 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants