diff options
author | 2021-08-05 19:26:26 -0700 | |
---|---|---|
committer | 2021-08-05 19:26:26 -0700 | |
commit | ea7fc62ddc8d08b6acdb00ac2d9a024fee8ad634 (patch) | |
tree | 1f2b8eed2652c22ce1216289758467349dbc7c0a /tests/test_helpers.py | |
parent | Time: 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/test_helpers.py')
0 files changed, 0 insertions, 0 deletions