Download Latest Version 2.9.0.post0 source code.zip (209.9 kB)
Email in envelope

Get an email when there's a new version of dateutil

Home / 2.9.0
Name Modified Size InfoDownloads / Week
Parent folder
2.9.0 source code.tar.gz 2024-03-01 182.5 kB
2.9.0 source code.zip 2024-03-01 209.9 kB
README.md 2024-03-01 1.0 kB
Totals: 3 Items   393.4 kB 0

Version 2.9.0 (2024-02-29)

Data updates

  • Updated tzdata version to 2024a. (gh pr [#1342])

Features

  • Made all dateutil submodules lazily imported using PEP 562. On Python 3.7+, things like import dateutil; dateutil.tz.gettz("America/New_York") will now work without explicitly importing dateutil.tz, with the import occurring behind the scenes on first use. The old behavior remains on Python 3.6 and earlier. Fixed by Orson Adams. (gh issue [#771], gh pr [#1007])

Bugfixes

  • Removed a call to datetime.utcfromtimestamp, which is deprecated as of Python 3.12. Reported by Hugo van Kemenade (gh pr [#1284]), fixed by Thomas Grainger (gh pr [#1285]).

Documentation changes

  • Added note into docs and tests where relativedelta would return last day of the month only if the same day on a different month resolves to a date that doesn\'t exist. Reported by \@hawkEye-01 (gh issue [#1167]). Fixed by \@Mifrill (gh pr [#1168])
Source: README.md, updated 2024-03-01