Repository: time-rs/time (language: rust)

Issue:
Compilation error for "wasm-bindgen"
Compilation fails for `cargo build  --target wasm32-unknown-unknown --features "wasm-bindgen"`:
```log
error[E0425]: cannot find value `Millisecond` in this scope
    --> time/src/offset_date_time.rs:1600:69
     |
1600 |         let timestamp_nanos = (js_date.get_time() * Nanosecond::per(Millisecond) as f64) as i128;
     |                                                                     ^^^^^^^^^^^ not found in this scope
     |
help: consider importing one of these items
     |
3    + use crate::convert::Millisecond;
     |
3    + use time_core::convert::Millisecond;
     |

error[E0425]: cannot find value `Millisecond` in this scope
    --> time/src/offset_date_time.rs:1615:31
     |
1615 |             / Nanosecond::per(Millisecond).cast_signed().extend::<i128>())
     |                               ^^^^^^^^^^^ not found in this scope
     |
help: consider importing one of these items
     |
3    + use crate::convert::Millisecond;
     |
3    + use time_core::convert::Millisecond;
     |
```

This worked fine in v0.3.31, but now fails for both v0.3.32 and main


Discussion / hints:

Fix patch:
diff --git a/time/src/offset_date_time.rs b/time/src/offset_date_time.rs
index 1c495cb38..750a3c633 100644
--- a/time/src/offset_date_time.rs
+++ b/time/src/offset_date_time.rs
@@ -16,7 +16,7 @@ use deranged::RangedI64;
 use num_conv::prelude::*;
 use powerfmt::ext::FormatterExt as _;
 use powerfmt::smart_display::{self, FormatterOptions, Metadata, SmartDisplay};
-use time_core::convert::{Day, Hour, Minute, Nanosecond, Second};
+use time_core::convert::*;
 
 use crate::date::{MAX_YEAR, MIN_YEAR};
 #[cfg(feature = "formatting")]
@@ -1614,7 +1614,7 @@ impl From<OffsetDateTime> for js_sys::Date {
         let timestamp = (datetime.unix_timestamp_nanos()
             / Nanosecond::per(Millisecond).cast_signed().extend::<i128>())
             as f64;
-        js_sys::Date::new(&timestamp.into())
+        Self::new(&timestamp.into())
     }
 }
 // endregion trait impls
diff --git a/time/src/sys/local_offset_at/wasm_js.rs b/time/src/sys/local_offset_at/wasm_js.rs
index 3fb02e2f4..a985e7c48 100644
--- a/time/src/sys/local_offset_at/wasm_js.rs
+++ b/time/src/sys/local_offset_at/wasm_js.rs
@@ -1,3 +1,5 @@
+use num_conv::prelude::*;
+
 use crate::convert::*;
 use crate::{OffsetDateTime, UtcOffset};
 


Test patch: