From b1ec80c918dd9e156c049a500983fb15147c6e14 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 28 Jun 2021 17:04:13 -0600 Subject: use chrono instead of time in tests --- examples/tutorial02/polls/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/tutorial02/polls') 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)] -- cgit v1.2.3