diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e75da686e..fe9106cdc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,12 +3,20 @@ ChangeLog for Chrono This documents all notable changes to [Chrono](https://github.com/chronotope/chrono). -Chrono obeys the principle of [Semantic Versioning](http://semver.org/). +Chrono obeys the principle of [Semantic Versioning](http://semver.org/), with one caveat: we may +move previously-existing code behind a feature gate and put it behind a new feature. This new +feature will always be placed in the `previously-default` feature, which you can use to prevent +breakage if you use `no-default-features`. There were/are numerous minor versions before 1.0 due to the language changes. Versions with only mechanical changes will be omitted from the following list. -## 0.4.17 (unreleased) +## 0.4.18 (unreleased) + +## 0.4.17 + +* Fix a name resolution error in wasm-bindgen code introduced by removing the dependency on time + v0.1 ## 0.4.16 diff --git a/Cargo.toml b/Cargo.toml index 74d587b74f..01d15735eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chrono" -version = "0.4.16" +version = "0.4.17" authors = [ "Kang Seonghoon ", "Brandon W Maister ", 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)) }