Fix humanize_timedelta() docstring to account for negative values (#6360)

This commit is contained in:
Jakub Kuczys
2024-04-21 03:55:33 +02:00
committed by GitHub
parent b1f331e51f
commit 72ec88aa3c

View File

@@ -530,8 +530,10 @@ def humanize_timedelta(
This works with either a timedelta object or a number of seconds.
Fractional values will be omitted, and values less than 1 second
an empty string.
Fractional values will be omitted.
Values that are less than 1 second but greater than -1 second
will be an empty string.
Parameters
----------