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")]