-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix duration check #54
Conversation
@zaach could you review this PR please? Thank you. |
@@ -115,7 +115,7 @@ convict provides serveral predefined formats for validation that you can use ([u | |||
* `url` | |||
* `email` | |||
* `ipaddress` - IPv4 and IPv6 addresses | |||
* `duration` - miliseconds or a human readable string (e.g. "5 days") | |||
* `duration` - miliseconds or a human readable string (e.g. "3000", "5 days") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: "milliseconds"
@pdehaan: done. Thanks. |
For the record, the duration check in human readable string was (unintentionally I believe) removed with commit b7ace05#diff-7763d1369911b91b757ba7ff51d734a2L37. I say unintentionally because the @zaach could you review this PR please? Thank you. |
Ah, good catch. 👍 |
@@ -115,7 +115,7 @@ convict provides serveral predefined formats for validation that you can use ([u | |||
* `url` | |||
* `email` | |||
* `ipaddress` - IPv4 and IPv6 addresses | |||
* `duration` - miliseconds or a human readable string (e.g. "5 days") | |||
* `duration` - milliseconds or a human readable string (e.g. "3000", "5 days") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hrm, that should not be a string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix integers enclosed in quotes for #54
This PR fixes #53.