feature: add @IsTime #2364
kimsey0
started this conversation in
Feature Ideas
Replies: 3 comments
|
I just now noticed there's I'd still suggest an |
0 replies
|
Perhaps it would be a good idea to start using |
0 replies
|
I'm moving this to the discussion tab, as we are trying to keep the issue count low. Please see this issue for an explanation. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
It's currently not possible to validate time values like
12:34using class-validator. These may come the time input HTML element.Proposed solution
Add a new
@IsTimevalidator which calls theisTimefunction from validator.js.All reactions