Add time from u64 (#849)
This commit is contained in:
parent
cecf4545cb
commit
d0aeda7bdd
@ -789,6 +789,18 @@ try_from_u64_err!(chrono::DateTime<chrono::Utc>);
|
|||||||
#[cfg(feature = "with-chrono")]
|
#[cfg(feature = "with-chrono")]
|
||||||
try_from_u64_err!(chrono::DateTime<chrono::Local>);
|
try_from_u64_err!(chrono::DateTime<chrono::Local>);
|
||||||
|
|
||||||
|
#[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")]
|
#[cfg(feature = "with-rust_decimal")]
|
||||||
try_from_u64_err!(rust_decimal::Decimal);
|
try_from_u64_err!(rust_decimal::Decimal);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user