diff options
author | 2019-09-23 23:03:58 +0200 | |
---|---|---|
committer | 2019-09-23 23:03:58 +0200 | |
commit | 56a365b24e7f6e145718a13edc410848ab169a06 (patch) | |
tree | 7a9793987d2071015d881aad1ddea7d9c016067c /scripts/deploy-azure.sh | |
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 'scripts/deploy-azure.sh')
0 files changed, 0 insertions, 0 deletions