Fix for datetime deprecation issue and standardizing timezone(UTC) and format(isoformat) for datetime updates on concatenating InferenceData (issue #2327 )
Description
The "created_at" default attribute in the make_attrs function in arviz/data/base.py is updated to avoid deprecation as well as work for Python 3.10, which is still supported by ArviZ.
The current_time variable in the concat function in arviz/data/inference-data.py is also updated to use the UTC timezone and is isoformatted.
Fix for datetime deprecation issue and standardizing timezone(UTC) and format(isoformat) for datetime updates on concatenating InferenceData (issue #2327 )
Description
The
"created_at"
default attribute in the make_attrs function inarviz/data/base.py
is updated to avoid deprecation as well as work for Python 3.10, which is still supported by ArviZ.The
current_time
variable in the concat function inarviz/data/inference-data.py
is also updated to use the UTC timezone and is isoformatted.Checklist
📚 Documentation preview 📚: https://arviz--2329.org.readthedocs.build/en/2329/