aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-08-05 17:20:31 -0700
committerGravatar MarkKoz <[email protected]>2021-08-05 17:20:31 -0700
commit24b28e264719e5bf40f565d553f7e9e57041b0a2 (patch)
treed63dbd145751a69f2cab0d242125dbe092fdfe43 /tests/base.py
parentTime: remove broken enum type check in discord_timestamp (diff)
Time: remove timedelta and relativedelta support from discord_timestamp
When a delta is given, it is unknown what it's relative to. The function has to assume it's relative to the POSIX Epoch. However, using a delta for this would be quite odd, and would more likely be a mistake if anything. relativedelta support was broken anyway since it wasn't using the total seconds represented by the delta.
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions