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

Bugfix 1460: preserve nanoseconds and timezones in date range from get info #1461

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

alexowens90
Copy link
Collaborator

THIS IS AN API CHANGE, AND SHOULD NOT BE MERGED UNTIL WE WANT TO BUMP THE MAJOR VERSION NUMBER FOR A MORE IMPORTANT FEATURE
Fixes #1460
Previously the date_range returned by get_info[_batch] was a datetime.datetime, which only has microsecond precision.
Now returns a pandas.Timestamp with nanosecond precision.
Also keeps the timezone information which was previously discarded for unknown reasons.

@alexowens90 alexowens90 marked this pull request as draft March 26, 2024 16:52
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_description date_range truncates nanoseconds
2 participants