diff options
author | 2019-09-19 12:37:47 +0200 | |
---|---|---|
committer | 2019-09-19 12:37:47 +0200 | |
commit | e70c96248bd7b548412811a4f1ffe88bed41f815 (patch) | |
tree | f2a68b4f1122d7a25d1a92a1d92613866a9f8e56 /tests/helpers.py | |
parent | Add 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/helpers.py')
0 files changed, 0 insertions, 0 deletions