Skip to content

Parsing timezone aware datetimes is deprecated #2

@stefanDeveloper

Description

@stefanDeveloper

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

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions