diff --git a/src/offset/local.rs b/src/offset/local.rs index 9f13e76b04..1abb3a9db0 100644 --- a/src/offset/local.rs +++ b/src/offset/local.rs @@ -152,7 +152,7 @@ impl TimeZone for Local { let mut local = local.clone(); // Get the offset from the js runtime let offset = FixedOffset::west((js_sys::Date::new_0().get_timezone_offset() as i32) * 60); - local -= oldtime::Duration::seconds(offset.local_minus_utc() as i64); + local -= ::Duration::seconds(offset.local_minus_utc() as i64); LocalResult::Single(DateTime::from_utc(local, offset)) }