aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-09-19 12:37:47 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2019-09-19 12:37:47 +0200
commite70c96248bd7b548412811a4f1ffe88bed41f815 (patch)
treef2a68b4f1122d7a25d1a92a1d92613866a9f8e56 /tests
parentAdd tests for `bot.rules.attachments`. (#426) (diff)
Fix date formatting bug in infraction search
The infraction search feature did not work because of a small bug with the date formatting: `datetime.fromisoformat` does not like the Z at the end of the datestring the database sends back, so we need to chop it off. I've applied the same method for doing that as already in use in other parts of the bot codebase.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions