mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Fix humanize_timedelta() docstring to account for negative values (#6360)
This commit is contained in:
parent
b1f331e51f
commit
72ec88aa3c
@ -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
|
||||
----------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user