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.
|
This works with either a timedelta object or a number of seconds.
|
||||||
|
|
||||||
Fractional values will be omitted, and values less than 1 second
|
Fractional values will be omitted.
|
||||||
an empty string.
|
|
||||||
|
Values that are less than 1 second but greater than -1 second
|
||||||
|
will be an empty string.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user