diff --git a/src/datetime.rs b/src/datetime.rs index b8e0ee6..8098410 100644 --- a/src/datetime.rs +++ b/src/datetime.rs @@ -247,6 +247,7 @@ impl From> for DateTime { } /// Convert a `DateTime` instance into a `DateTime` instance. +#[cfg(feature="clock")] impl From> for DateTime { /// Convert this `DateTime` instance into a `DateTime` instance. /// @@ -268,6 +269,7 @@ impl From> for DateTime { } /// Convert a `DateTime` instance into a `DateTime` instance. +#[cfg(feature="clock")] impl From> for DateTime { /// Convert this `DateTime` instance into a `DateTime` instance. /// @@ -279,6 +281,7 @@ impl From> for DateTime { } /// Convert a `DateTime` instance into a `DateTime` instance. +#[cfg(feature="clock")] impl From> for DateTime { /// Convert this `DateTime` instance into a `DateTime` instance. /// @@ -290,6 +293,7 @@ impl From> for DateTime { } /// Convert a `DateTime` instance into a `DateTime` instance. +#[cfg(feature="clock")] impl From> for DateTime { /// Convert this `DateTime` instance into a `DateTime` instance. ///