neo4j / neo4j-python-driver

Neo4j Bolt driver for Python
https://neo4j.com/docs/api/python-driver/current/
Other
898 stars 186 forks source link

Support serializing datetimes with datetime.timezone #914

Closed robsdedude closed 1 year ago

robsdedude commented 1 year ago

This enables users to use python's standard datetime.timezone for constant utc-offset timezones (only for serialization, data coming back from the server will continue to use pytz).

This change also enables pandas 2 as pandas switched over to datetime.timezone for constant offset timezones https://pandas.pydata.org/docs/dev/whatsnew/v2.0.0.html#utc-and-fixed-offset-timezones-default-to-standard-library-tzinfo-objects