diff options
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)] |