-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Use Java 8 Time instead of Joda in LS and any plugins. #7149
Comments
@guyboertje Is this going to break the interface for users w.r.t. the matcher patterns? I don't think Joda and Java 8 formatting of date patterns are compatible, no? I might be wrong though, haven't dug deep. http://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html |
/cc @jordansissel who was researching this as well.. |
@suyograo We might be able to create a translation layer between the 2, making it transparent to the user. |
From a discussion on zoom between @suyograo @jordansissel and myself we agreed to the following:
|
So would it be possible to keep Joda just for the pattern matching part and use Java 8 time everywhere else?? If it is, this would allow moving forward with proper Java 8 support and just keep Joda for the pattern matching until we decide what to do with that? |
@colinsurprenant Yup, I think possible to do that, we could use it the date filter and in the StringInterpolation classes. |
This may not be necessary since java.time (JSR310) is based on Joda and hopefully has the same date format stuff. |
are we moving forward with this? |
@colinsurprenant yes, but we haven't done any compatibility research, testing, or code yet. If you'd like to work on this, I am in favor of it being delivered. I think it's two things:
|
my own backlog is long but If we believe this is important then we can look into prioritizing it somehow. I asked if we were moving forward more to know if this was still valid or not and it is per your comment @jordansissel. |
Indeed. Long is the backlog ;) I am +1 on moving forward with this whenever/wherever we can fit it into our roadmap and whatnot. |
Hello! I got here by way of #7463, #7474, and #5606 (comment), and was wondering if there's any progress / prioritization for switching underlying time libraries! We're using Logstash for an application that would greatly benefit from nanosecond granularity, and it would be nice to know what the plan is for switching over. Thanks! |
Hi @ahrex , Benefiting from Nanosecond granularity is currently on our roadmap, but unfortunately, it is not something we will be able to tackle in the short term. That said, we are constantly evaluating the roadmap and hoping to have better news in 3-6 months as to when we would be able to improve here! |
Just checking in 😁 |
The text was updated successfully, but these errors were encountered: