Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed negative numbers in /birthday set #799

Merged
merged 2 commits into from
Jun 29, 2024

Conversation

theimperious1
Copy link
Collaborator

The day of birth could be a negative number and result in an error.

The new version of the conditional checks that the day is not null/undefined and that the day is not less than 1.

This is a fix for issue #796.

@LunaUrsa LunaUrsa self-requested a review June 29, 2024 18:40
Copy link
Contributor

@LunaUrsa LunaUrsa left a comment

Choose a reason for hiding this comment

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

Nice, clean, simple, thank you!

@LunaUrsa LunaUrsa merged commit 32264ab into TripSit:main Jun 29, 2024
3 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.

2 participants