aboutsummaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-15 18:22:30 -0800
committerGravatar MarkKoz <[email protected]>2020-02-15 18:22:30 -0800
commitb4d870add68fafa00420a1d75136b6264be3ff0a (patch)
treed2c72190d23b782078cae2b06bb8dde952830ba0 /tests/__init__.py
parentMerge pull request #752 from python-discord/infr-edit-permanent-fix (diff)
Utils: refactor format_infraction_with_duration and support absolute val
The absolute value is useful for preventing negative values in the case that date_to is in the past relative to date_from. * Add an absolute parameter to take the absolute value of the duration * Rename expiry to date_to * Rewrite the docstring
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions