Adonis 5 with Mysql not accept Datetime ISO value without timezone #3517
Replies: 2 comments 1 reply
-
What happens when you perform the insert statement by running the SQL query directly (without using Lucid)? |
Beta Was this translation helpful? Give feedback.
-
I have the same error when using firstOrCreate dateAdded column type Date MySQL 5.7
Error message:
I set prepare and serialize methods on the model from Datetime
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When using Adonis 5 with Mysql i get an error while tryng to save string Datetime from ISO format with timezone:
Without the timezone the error not occurr:
Showin the error:
Thanks for help.
Beta Was this translation helpful? Give feedback.
All reactions