-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add way to check is a string is a valid date #38
Comments
@abitdodgy this particular case is not handled :) Care to give it a try in a PR? |
Yea would like that too. Using that gem in like form-objects where the input is a string, the gem currently wont recognize a correct string representation of a date. |
@txus Sorry, I missed your comment. I'll give this a bash, more than two years later 😆 |
@Skulli in case of usage Reform form objects it's possible to include Coercion module from |
@drakmail's approach appears to work nicely, for more details checkout the Reform docs. http://trailblazer.to/gems/reform/options.html#coercion |
Is it possible to add a way just to check if a given string is a valid date?
The text was updated successfully, but these errors were encountered: