You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am wondering what the cleanest way is to parse the result of an html
<input type="datetime-local">
into a date.The html elements returns something that does not conform to
.string().datetime()
Right now I am working around it like with something like
But that feels quite complex. Is there an easier way? And if not, should there be?
Beta Was this translation helpful? Give feedback.
All reactions