diff options
author | 2021-08-06 14:20:52 -0700 | |
---|---|---|
committer | 2021-08-06 14:20:52 -0700 | |
commit | 2004477e12c72e4739ea1b1f192fb2c12eac69d0 (patch) | |
tree | 6915762ac193d7b9d40421ef49bd026f3c074d30 /tests/base.py | |
parent | Time: 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/base.py')
0 files changed, 0 insertions, 0 deletions