Skip to content

Commit

Permalink
Use correct deprecation version for naturaldelta(..., when)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
carterbox and hugovk authored Dec 15, 2021
1 parent bbdd173 commit 138b092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/humanize/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def naturaldelta(
minimum_unit (str): The lowest unit that can be used.
when (datetime.datetime): Point in time relative to which _value_ is
interpreted. Defaults to the current time in the local timezone.
.. deprecated:: 3.13
.. deprecated:: 3.14
If you need to construct a timedelta, do it inline as the first
argument.
Expand Down

0 comments on commit 138b092

Please sign in to comment.