chore(dates-times): replace pytz with zoneinfo

Remove the third-party pytz in favour of the stdlib zoneinfo module
(Python 3.9+), which ships the IANA tz database directly.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen 2026-03-18 23:41:32 +08:00
parent 7b8002426d
commit 0cd4ccaec2
No known key found for this signature in database
GPG Key ID: B93DE4F003C33630

View File

@ -391,10 +391,10 @@ _Libraries for connecting and operating databases._
_Libraries for working with dates and times._
- [zoneinfo](https://docs.python.org/3/library/zoneinfo.html) - (Python standard library) IANA time zone support. Brings the [tz database](https://en.wikipedia.org/wiki/Tz_database) into Python.
- [arrow](https://github.com/arrow-py/arrow) - A Python library that offers a sensible and human-friendly approach to creating, manipulating, formatting and converting dates, times and timestamps.
- [dateutil](https://github.com/dateutil/dateutil) - Extensions to the standard Python [datetime](https://docs.python.org/3/library/datetime.html) module.
- [pendulum](https://github.com/sdispater/pendulum) - Python datetimes made easy.
- [pytz](https://github.com/stub42/pytz) - World timezone definitions, modern and historical. Brings the [tz database](https://en.wikipedia.org/wiki/Tz_database) into Python.
## Debugging Tools