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

Fix get_age() denominator calculations once & for all #31

Merged
merged 5 commits into from
Dec 23, 2024
Merged

Conversation

MichaelChirico
Copy link
Owner

@MichaelChirico MichaelChirico commented Dec 23, 2024

Closes #30 Closes #32

Working out the reasoning behind the original code again, it's making more sense. Going to add more comments this time.

@MichaelChirico MichaelChirico merged commit 3614b23 into master Dec 23, 2024
0 of 6 checks passed
@MichaelChirico MichaelChirico deleted the fix-30 branch December 23, 2024 06:06
MichaelChirico added a commit that referenced this pull request Dec 23, 2024
MichaelChirico added a commit that referenced this pull request Dec 23, 2024
* Attempt to use fcase()

* skip linting

* found typo

* 2nd typo

* add a failing test case

* Adapt to error also fixed in #31

* Use a different offset for readability, clarity

* trailing ',', add a comment

* NEWS

* acero is not a package
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.

get_age('1968-02-29', '2015-03-02') is wrong get_age('2027-03-01', '2030-03-02') is wrong
1 participant