Skip to content
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

Date Validation #34

Open
chandrubk opened this issue Jan 2, 2023 · 2 comments
Open

Date Validation #34

chandrubk opened this issue Jan 2, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@chandrubk
Copy link

How Can I do the Date Validations? I didn't find any references

@bohoffi
Copy link

bohoffi commented Sep 22, 2023

@chandrubk with the current rules you could utilize the number rules with ruleForTransformed and Date.getTime()

@AlexJPotter AlexJPotter added the enhancement New feature or request label Mar 8, 2024
@AlexJPotter
Copy link
Owner

Hi @chandrubk - it's a good point, I'll have a think about whether there are some built-in validators we can support for Date objects. As a workaround for now you could use the suggestion from @bohoffi or make use of .must to define your own custom rules 😃

@AlexJPotter AlexJPotter self-assigned this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants