-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Remove JodaCompatibleZonedDateTime #78417
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
Conversation
Pinging @elastic/es-data-management (Team:Data Management) |
Pinging @elastic/es-core-infra (Team:Core/Infra) |
@elasticmachine run elasticsearch-ci/part-2 |
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!
@jrodewig Please take a look at the breaking change documentation when you have a chance. Thanks! |
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.
The docs look good overall. However, I'd explain what will happen if a script uses one of the outdated methods in the impact section of the breaking change.
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
v1 can be an instance of JodaCompatibleZonedDateTime in versions prior to elastic#78417, which has to be converted to ZonedDateTime for appropriate comparison. Closes #TBC
v1 can be an instance of JodaCompatibleZonedDateTime in versions prior to elastic#78417, which has to be converted to ZonedDateTime for appropriate comparison. Closes elastic#88408
…e condition (#88467) * Add test of date math with ctx.execution_time Add one test to confirm the below watcher compare condition is always met. ``` "condition": { "compare": { "ctx.execution_time": { "gte": "<{now-5m}>" } } } ``` v1 can be an instance of JodaCompatibleZonedDateTime in versions prior to #78417, which has to be converted to ZonedDateTime for appropriate comparison. Closes #88408
This change removes JodaCompatibleZonedDateTime and replaces it with ZonedDateTime for use in scripting.
Breaking changes: