diff --git a/src/executor/query.rs b/src/executor/query.rs index bce8c87cb..46462ced7 100644 --- a/src/executor/query.rs +++ b/src/executor/query.rs @@ -789,6 +789,18 @@ try_from_u64_err!(chrono::DateTime); #[cfg(feature = "with-chrono")] try_from_u64_err!(chrono::DateTime); +#[cfg(feature = "with-time")] +try_from_u64_err!(time::Date); + +#[cfg(feature = "with-time")] +try_from_u64_err!(time::Time); + +#[cfg(feature = "with-time")] +try_from_u64_err!(time::PrimitiveDateTime); + +#[cfg(feature = "with-time")] +try_from_u64_err!(time::OffsetDateTime); + #[cfg(feature = "with-rust_decimal")] try_from_u64_err!(rust_decimal::Decimal);