diff options
author | 2019-09-23 23:03:58 +0200 | |
---|---|---|
committer | 2019-09-23 23:03:58 +0200 | |
commit | 56a365b24e7f6e145718a13edc410848ab169a06 (patch) | |
tree | 7a9793987d2071015d881aad1ddea7d9c016067c /Pipfile | |
parent | Fix failing duration conversion (diff) |
Allow whitespace in duration strings and update tests
https://github.com/python-discord/bot/issues/446
After review feedback and a discussion in the dev-core team, I've
changed a couple of things:
- Allow a space between amount and unit in the duration string;
- Allow a space between different units in the duration string;
- Remove the old ExpirationDate converter completely;
- Remove the dependency `dateparser` from the Pipfile;
- Update tests for the two types of optional spaces;
- Change the test for valid cases to a more readable format;
This PR closes #446
Diffstat (limited to 'Pipfile')
-rw-r--r-- | Pipfile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -17,7 +17,6 @@ aio-pika = "*" python-dateutil = "*" deepdiff = "*" requests = "*" -dateparser = "*" more_itertools = "~=7.2" urllib3 = ">=1.24.2,<1.25" |