mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
Fix humanize_timedelta() docstring to account for negative values (#6360)
This commit is contained in:
@@ -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
|
||||||
----------
|
----------
|
||||||
|
|||||||
Reference in New Issue
Block a user