aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-08-05 19:26:26 -0700
committerGravatar MarkKoz <[email protected]>2021-08-05 19:26:26 -0700
commitea7fc62ddc8d08b6acdb00ac2d9a024fee8ad634 (patch)
tree1f2b8eed2652c22ce1216289758467349dbc7c0a /tests/helpers.py
parentTime: rename format_infraction_with_duration (diff)
Time: support more timestamp formats as arguments
Remove the burden of conversion from the caller to clean up and simplify the call sites. Handle timestamp conversions internally with arrow.get. Remove format_infraction and get_time_delta because they're now obsolete. Replace the former with discord_timestamp and the latter with format_relative.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions