Skip to content

Commit

Permalink
Fix humanize_timedelta() docstring to account for negative values (#6360
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Jackenmen committed Apr 21, 2024
1 parent b1f331e commit 72ec88a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions redbot/core/utils/chat_formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand Down

0 comments on commit 72ec88a

Please sign in to comment.