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

cast string to date #70

Closed
wants to merge 1 commit into from
Closed

Conversation

happysalada
Copy link
Contributor

I've got a form that is updated dynamically, and when the value is populated from the database it is a string.
My efforts at casting it from outside are fruitless at the moment.
I was wondering if you would be open to casting strings passed to the component as dates.
This would make things simpler on my side.
let me know if anything of course, I'm open.

@probablykasper
Copy link
Owner

I won't merge this, sorry. I think it can make issues harder to debug if an unexpected string value is converted implicitly

@happysalada
Copy link
Contributor Author

no worries, thanks for having taken a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants