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 resolution bug in datetime2year_float #19

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

DominikStiller
Copy link
Contributor

There is a bug in the conversion from datetimes to years in floats. Daily resolution is not supported, only monthly, because the resolution argument is not propagated into ymd2year_float. This is fixed in this PR.

@fzhu2e
Copy link
Owner

fzhu2e commented Sep 5, 2024

Hi Dominik, thanks for the fix! The daily resolution is usually not useful for paleo cases, so I didn't bother to complete & test that line of coding. It's good to have your PR fixing this.

@fzhu2e fzhu2e merged commit a99c13b into fzhu2e:main Sep 5, 2024
1 check 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