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

Parsing timezone aware datetimes is deprecated #2

Open
stefanDeveloper opened this issue Aug 30, 2024 · 2 comments
Open

Parsing timezone aware datetimes is deprecated #2

stefanDeveloper opened this issue Aug 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@stefanDeveloper
Copy link
Owner

Summary

As derived from the Numpy error:
Given timestamp 2024-07-02T12:52:50.988Z with format %Y-%m-%dT%H:%M:%S.%fZ results to:
heiDGAF/src/inspector/inspector.py:113: DeprecationWarning: parsing timezone aware datetimes is deprecated; this will raise an error in the future max_date = np.datetime64(end_timestamp)

Using the format %Y-%m-%dT%H:%M:%S.%f results in no deprecation warning. See https://numpy.org/doc/stable/release/1.11.0-notes.html#datetime64-changes

@stefanDeveloper stefanDeveloper added the enhancement New feature or request label Aug 30, 2024
@lamr02n
Copy link
Collaborator

lamr02n commented Sep 28, 2024

@stefanDeveloper Is this still relevant?

@lamr02n lamr02n added bug Something isn't working question Further information is requested and removed enhancement New feature or request labels Sep 28, 2024
@stefanDeveloper
Copy link
Owner Author

@stefanDeveloper Is this still relevant?

I will recheck it next week.

@stefanDeveloper stefanDeveloper self-assigned this Sep 28, 2024
@stefanDeveloper stefanDeveloper added this to the First heiDGAF version milestone Sep 28, 2024
@lamr02n lamr02n removed the question Further information is requested label Oct 4, 2024
@lamr02n lamr02n removed their assignment Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants