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
CREATETABLEanswers (
id INTPRIMARY KEY AUTO_INCREMENT,
question_id INTNOT NULL,
title VARCHAR(255) NOT NULL,
user_id INTNOT NULL,
created TIMESTAMPNOT NULL
)
Ah. Got the problem. NaiveDateTime expects ISO 8601 combined date and time without timezone. and I was passing the date in incorrect format. The timezone was mentioned and second was not mentioned. The correct format is 2007-04-05T14:30:30. Thanks.
cargo.toml
Model:
Schema:
For a json input like this:
I am getting error:
This could be a problem in
chrono
I am not sure.The text was updated successfully, but these errors were encountered: