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
When you try to pass JS date like new Date().toString(), or new Date().toISOString() to datetime field it won't you need to create new compatible with mysql date string new Date().toISOString().slice(0, 19).replace('T', ' '), or you need to re-config your sql service what I don't want to do. It would be useful if this module will do it for you.
The text was updated successfully, but these errors were encountered:
Thanks for quick answer. I already use hook, but thought that it can be useful to do it in the adapter.
But I got it what you are saying it makes sense.
When you try to pass JS date like
new Date().toString()
, ornew Date().toISOString()
to datetime field it won't you need to create new compatible with mysql date stringnew Date().toISOString().slice(0, 19).replace('T', ' ')
, or you need to re-config your sql service what I don't want to do. It would be useful if this module will do it for you.The text was updated successfully, but these errors were encountered: