Skip to content

v2.4.0

Choose a tag to compare

@cedricmoorejr cedricmoorejr released this 16 Jul 06:10
· 268 commits to main since this release

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.MyTimeZone exposes location-aware timezone, offset, DST, and current-time details.
  • Holiday information — Holidate retrieves 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.MyTimeZone for 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

Links