Skip to content

fix: recognize slash date-only input - #1164

Merged
delei merged 2 commits into
apache:mainfrom
Aias00:fix/slash-date-only-1154
Oct 8, 2026
Merged

delei merged 2 commits into
apache:mainfrom
Aias00:fix/slash-date-only-1154

Conversation

@Aias00

@Aias00 Aias00 commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Closed: #1154

Summary

  • add yyyy/MM/dd to default date format detection
  • cover java.util.Date and LocalDate auto-detection

Verification

  • ./mvnw -pl fesod-sheet -Dmaven.test.skip=false -DskipTests=false -Dtest=DateUtilsTest#test_parseDateAutoDetectsForwardSlashDateOnly+test_parseLocalDate test
  • ./mvnw -pl fesod-sheet spotless:check

Signed-off-by: liuhy <liuhongyu@apache.org>

@delei delei left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@delei
delei merged commit 3791c70 into apache:main Oct 8, 2026
9 checks passed
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.

[Bug] Default date detection rejects yyyy/MM/dd while accepting slash date-times

2 participants