A Python library providing utilities for working with timezone-aware datetimes, including conversion, formatting, and common timezone operations. Current version 0.1.0.post1, requires Python >=3.10. Active development.
pip install timezone-toolsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize a TimezoneConverter, create an aware datetime in a specific timezone, and format it using a custom pattern.
Use only valid IANA timezone identifiers. Check with pytz.all_timezones if unsure.
Pin to timezone-tools==0.1.0.post1 in requirements.txt or setup.py.
Prepare to migrate code that relies on pytz behavior; monitor the library's future releases.
Replace 'US/Eastern' with 'America/New_York' or another valid IANA timezone.
Check the API documentation. Likely use `converter.to_timezone(dt, target_tz)` instead of `convert`.