Skip to content

Conversation

@MBoegers
Copy link
Contributor

@MBoegers MBoegers commented Nov 9, 2025

What's changed?

Add migration from DateMidnight to LocalDate fixing time to start of day.
Also I am very brutally change the type for LocalDates.

What's your motivation?

Enable migration path for codebases using DateMidnight.

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

A first version did not integrate with the existing visitors structures. I sticked with trhe current pattern as there is an onhgoing rework and I don't want to infer here with a third approach.

Any additional context

Seen this in customer projects and and we came up with this path.

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@MBoegers MBoegers requested a review from timtebeek November 9, 2025 11:07
@MBoegers MBoegers self-assigned this Nov 9, 2025
@MBoegers MBoegers added the enhancement New feature or request label Nov 9, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Nov 9, 2025
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@MBoegers
Copy link
Contributor Author

LocalDate migrations posponed to #6

@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Nov 10, 2025
@MBoegers MBoegers merged commit fbb909a into main Nov 10, 2025
2 checks passed
@MBoegers MBoegers deleted the boeg/additional-migrations branch November 10, 2025 11:14
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants