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

Add the getAgeInYears method #21

Merged
merged 1 commit into from
May 19, 2024
Merged

Add the getAgeInYears method #21

merged 1 commit into from
May 19, 2024

Conversation

maritim
Copy link
Contributor

@maritim maritim commented May 18, 2024

I added the getAgeInYears method because I consider it useful.

On this occasion I fixed the following 2 problems:

  • I fixed two tests that were going to fail in a year, respectively 3 years from now, because they used the date of the moment of execution, but the output values ​​were static.
  • Before, the library considered that a person has an identity card from the age of 15, although the age should be 14. It was probably a typo, I changed it.

@alceanicu alceanicu merged commit ed0a94f into alceanicu:master May 19, 2024
@alceanicu alceanicu self-assigned this May 19, 2024
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