diff options
author | Melody Horn <melody@boringcactus.com> | 2021-06-28 17:04:13 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-06-28 17:04:13 -0600 |
commit | b1ec80c918dd9e156c049a500983fb15147c6e14 (patch) | |
tree | cf0eb97074d7d2d4e60c2cfef96ac01adfc2a6d9 /examples | |
parent | 2e3930b4c7c26e91c1341d7d04d33d91758f8009 (diff) | |
download | tosin-b1ec80c918dd9e156c049a500983fb15147c6e14.tar.gz tosin-b1ec80c918dd9e156c049a500983fb15147c6e14.zip |
use chrono instead of time in tests
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tutorial02/polls/models.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tutorial02/polls/models.rs b/examples/tutorial02/polls/models.rs index d62f219..c9de156 100644 --- a/examples/tutorial02/polls/models.rs +++ b/examples/tutorial02/polls/models.rs @@ -6,7 +6,7 @@ pub struct Question { #[model(max_length=200)] question_text: String, /// date published - pub_date: time::PrimitiveDateTime, + pub_date: chrono::NaiveDateTime, } #[derive(Model, PartialEq, Debug)] |