Skip to content

Fix day validation of month February#9

Open
BasdekD wants to merge 1 commit intosalahamassi:masterfrom
BasdekD:master
Open

Fix day validation of month February#9
BasdekD wants to merge 1 commit intosalahamassi:masterfrom
BasdekD:master

Conversation

@BasdekD
Copy link
Copy Markdown

@BasdekD BasdekD commented Mar 16, 2024

Before this request

  • Validation fails when day >= 28 and month = February

After this request

  • Validation always succeeds for 28 February
  • Validation succeeds for 29 February if the given year is a leap year

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