Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upChrono DateTime<UTC> trait exception #702
Comments
This comment has been minimized.
|
Yeah, you should use the master branch of diesel, use chrono 0.2 or wait for 0.11. Since the migration to chrono 0.3 was a breaking change, it wasn't released in 0.10.x See #648 |
This comment has been minimized.
arnau
commented
Feb 14, 2017
|
Ah! Thanks! |
arnau
closed this
Feb 14, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
arnau commentedFeb 14, 2017
Hello, today I started migrating from diesel 0.9 on Rust 1.15 nightly to diesel 0.10 on Rust 1.15 stable. Right now I'm trying to understand what is wrong with my usage of chrono's
DateTime<UTC>. I tried to replicate the error modifying the getting started example. The error below corresponds to this: arnau@bbdaad8In short:
created_at TIMESTAMP WITH TIME ZONE.created_atfield to thePostmodel.The error:
Any ideas why this is happening?
Thanks!
Rust version: rustc 1.15.1 (021bd294c 2017-02-08)
OS: macOS 10.12.3 (Sierra)