From c8851646e8586bf8b9c56a9fba94a2f9e10a634c Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Mon, 9 May 2022 22:33:59 +0800 Subject: [PATCH] Fixup --- src/entity/prelude.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/prelude.rs b/src/entity/prelude.rs index 5d614c1f..10b1bb50 100644 --- a/src/entity/prelude.rs +++ b/src/entity/prelude.rs @@ -22,7 +22,7 @@ pub use chrono::NaiveDate as Date; pub use chrono::NaiveTime as Time; #[cfg(feature = "with-chrono")] -pub type DateTime = chrono::DateTime; +pub use chrono::NaiveDateTime as DateTime; /// Date time with fixed offset #[cfg(feature = "with-chrono")]