Skip to content

Conversation

@joel-costigliola
Copy link
Member

Fix #3482

The only bit that was not addressed is the lenient parsing, this is why the tests are failing.

At least we are now supporting nanos, ex:

Date date = Date.from(Instant.parse("1970-01-01T00:00:00.000000001Z"));
assertThat(date).isEqualTo("1970-01-01T00:00:00.000000001Z");

Not supporting lenient date parsing is breaking change, probably one we can remove in AssertJ 4 since it's not a great idea to accept date like 2001-01-34 anyway.

…TE_TIME, ISO_LOCAL_DATE_TIME, ISO_LOCAL_DATE DateTimeFormatter and Timestamp parsing as supported by Timestamp.valueOf(String).

Fix #3482
@github-actions
Copy link

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@scordio scordio modified the milestones: 3.26.0, 3.27.0 May 24, 2024
@scordio scordio force-pushed the 3.x branch 2 times, most recently from 301ca01 to c730d18 Compare June 1, 2024 16:04
@scordio scordio modified the milestones: 3.27.0, 3.28.0 Nov 25, 2024
@scordio scordio modified the milestones: 3.28.0, 4.0.0-M1 Jan 3, 2025
@scordio scordio self-requested a review January 27, 2025 13:05
@scordio scordio changed the base branch from 3.x to main January 27, 2025 13:05
@scordio scordio modified the milestones: 4.0.0-M1, 4.0.0-M2 Jan 31, 2025
@scordio scordio force-pushed the main branch 2 times, most recently from b6e46b9 to 3f3b814 Compare April 24, 2025 21:24
@scordio scordio force-pushed the main branch 2 times, most recently from b2b071f to 2dab02c Compare November 8, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evaluate DateTimeFormatter as replacement of SimpleDateFormat for internal usage

3 participants