Skip to content

Clarify date-time fallback docs and simplify parsing on 2.x (#1337) - #1339

Merged
stevehu merged 2 commits into
2.xfrom
fix/1337-date-time-follow-ups-2.x
Oct 21, 2026
Merged

stevehu merged 2 commits into
2.xfrom
fix/1337-date-time-follow-ups-2.x

Conversation

@stevehu

@stevehu stevehu commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Port the #1337 date-time follow-ups to 2.x: correct the time changelog, describe the RFC 3339 fallback, and document its space-separator and leap-second-table differences from Ethlo.

Share UTC minute normalization, require seconds in the formatter, and reuse the parsed date for leap-second checks. Add regression coverage for the documented separator difference, fixed-width fields, extreme-offset leap seconds, and schema validation with Ethlo absent.

Initial implementation validation: mvn -B clean verify passed on Java 8; mvn -B verify passed on JDK 11, 17, and 21. Each run: 8,979 tests, zero failures/errors, 15 skipped. Refreshed GitNexus change scan: LOW risk, seven changed files.

Review follow-up: document Ethlo's rejection of -00:00, offsets beyond ±18:00, and fractions longer than nine digits, and restore the leap-second accuracy caveat. Add five date-range boundary cases, including a written year 0000 that normalizes to UTC year -1. The final format suite passes 108 tests with zero failures/errors/skips on Java 8. Full-suite results above apply to the initial implementation; the docs-and-tests follow-up was checked with the focused suite. GitNexus follow-up scan: LOW risk, three changed files.

Refs #1337. Companion PR for master: #1338.

@stevehu
stevehu merged commit ddcdd50 into 2.x Oct 21, 2026
5 checks passed
@stevehu
stevehu deleted the fix/1337-date-time-follow-ups-2.x branch October 23, 2026 06:53
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.

1 participant