Repository navigation
v2.4.0
Note
Holiday lookups and richer timezone operations.
At a glance
| Release type | Feature and bug fix |
| Upgrade priority | Recommended |
| Breaking changes | None documented |
| Python support | Python 3.8+ (>=3.8) |
Highlights
- Timezone objects and local time —
TimeZoner.Object()returns timezone objects or current datetimes for named and locally detected zones. - Local timezone discovery —
TimeZoner.MyTimeZoneexposes location-aware timezone, offset, DST, and current-time details. - Holiday information —
Holidateretrieves country and year holiday data as lists, dictionaries, or DataFrames.
Fixed
- Fixed incorrect timezone-offset calculations for affected regions.
- Fixed date parsing and calculations involving leap years.
- Fixed missing Daylight Saving Time adjustments in timezone results.
Changed
- Added
TimeZoner.Object()for named or current timezone objects and timezone-aware datetimes. - Added
TimeZoner.MyTimeZonefor local timezone discovery. - Added
Holidate.Holiday()and country discovery for holiday-data workflows.
Upgrade guidance
Upgrade is recommended for timezone and holiday users, particularly applications affected by offset, leap-year, or DST handling. The new APIs are additive; no configuration, data, or credential migration is documented.
Install or upgrade
python -m pip install --upgrade dately==2.4.0