aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-08-06 14:20:52 -0700
committerGravatar MarkKoz <[email protected]>2021-08-06 14:20:52 -0700
commit2004477e12c72e4739ea1b1f192fb2c12eac69d0 (patch)
tree6915762ac193d7b9d40421ef49bd026f3c074d30 /tests/helpers.py
parentTime: remove DISCORD_TIMESTAMP_REGEX (diff)
Time: add overload to pass 2 timestamps to humanize_delta
Remove the need for the caller to create a `relativedelta` from 2 timestamps before calling `humanize_delta`. This is especially convenient for cases where the original inputs aren't `datetime`s since `relativedelta` only accepts those.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions