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

clj-time #65

Closed
AndreaCrotti opened this issue May 21, 2021 · 6 comments
Closed

clj-time #65

AndreaCrotti opened this issue May 21, 2021 · 6 comments

Comments

@AndreaCrotti
Copy link
Contributor

I noticed that this project requires and uses clj-time, which is deprecated in favour of the java API from version 8 onwards.
https://github.com/clj-time/clj-time

It would be great to just require the java API object at least in the scenario configuration (for the duration) instead of a joda-time object.

@mhjort
Copy link
Owner

mhjort commented May 22, 2021 via email

@AndreaCrotti
Copy link
Contributor Author

AndreaCrotti commented May 24, 2021

If you leave clj-time as an option then doesn't it mean still requiring the dependency anyway?
I think it should be fine if newer versions only take java 8+ date/time objects, keeping clj-time around would maybe defeat the purpose a bit imho.

From the user point of view updating would be just to change maybe a few clj-time date/times to the equivalent java 8 objects, and only if somehow you are not on java 8 yet it would be an issue (and it was released 7 years so it's been a while).

@mhjort
Copy link
Owner

mhjort commented May 31, 2021 via email

@mhjort
Copy link
Owner

mhjort commented Jul 21, 2021

This turned out to be trickier than I thought. I now have a PR ready that I am going to merge soon. #69

@mhjort
Copy link
Owner

mhjort commented Jul 22, 2021

clj-gatling 0.16.0 uses Java 8 time api by default and not include clj-time anymore. Closing this one.

@mhjort mhjort closed this as completed Jul 22, 2021
@AndreaCrotti
Copy link
Contributor Author

Nice thanks!

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

No branches or pull requests

2 participants