Skip to content

feature: add @IsTime #2335

Description

@kimsey0

Description

It's currently not possible to validate time values like 12:34 using class-validator. These may come the time input HTML element.

Proposed solution

Add a new @IsTime validator which calls the isTime function from validator.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag: needs discussionIssues which needs discussion before implementation.type: featureIssues related to new features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions