Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Related to ARROW-5248, but specifically for the stdlib datetime.timezone.utc, I think it would be nice to "recognize" this as UTC. Currently it is converted to "+00:00", while for pytz this is not the case:
from datetime import datetime, timezone import pytz print(pa.array([datetime.now(timezone.utc)]).type) print(pa.array([datetime.now(pytz.utc)]).type)
gives
timestamp[us, tz=+00:00] timestamp[us, tz=UTC]
Attachments
Issue Links
- is related to
-
ARROW-5248 [Python] support zoneinfo / dateutil timezones
- Resolved
- links to