Replace pytz with zoneinfo in the API