diff options
| author | 2021-08-05 17:20:31 -0700 | |
|---|---|---|
| committer | 2021-08-05 17:20:31 -0700 | |
| commit | 24b28e264719e5bf40f565d553f7e9e57041b0a2 (patch) | |
| tree | d63dbd145751a69f2cab0d242125dbe092fdfe43 /tests | |
| parent | Time: 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')
0 files changed, 0 insertions, 0 deletions