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
Core: Add backcompat for joda time formats #36531
Conversation
This commit adds deprecation warnings when using format specifiers with joda data formats that will change with java time. It also adds the "8" prefix which may be used to force the new java time format parsing.
Pinging @elastic/es-core-infra |
A couple things to note for reviewers:
|
@elasticmachine retest this please |
Did a first pass, will do another one later today (looks good so far). On the danger of starting huge bike shedding: Do you think the |
just to understand your argument above (seems my java time knowledge is fading again). The only time the remaining |
I think it is pertinent for users to know, in the same way they currently need to know it is joda time, so that they know what format specifiers are valid (by looking at the respective documentation).
I don't think week has anything to do with it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Docs are needed for a small mention about the new 8
prefixed format, but that can easily be done in a separate PR.
Thanks @spinscale. I will followup with docs in a separate PR. |
This commit adds deprecation warnings when using format specifiers with joda data formats that will change with java time. It also adds the "8" prefix which may be used to force the new java time format parsing.
This commit adds deprecation warnings when using format specifiers with
joda data formats that will change with java time. It also adds the "8"
prefix which may be used to force the new java time format parsing.