From fdc71accf35ebede9933446c8679a1cb0e90ed1b Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sat, 2 May 2020 11:49:23 +0200 Subject: [PATCH] Update changelog --- CHANGELOG.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d51734..3173459 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -... +### Changed +- [breaking-change] Renamed `is_busy()` and `is_running()` methods `busy()` and `running()` + due to Rust naming conventions. +- Implement trait from [`rtcc`] crate. +- Changed `get_datetime()` and `set_datetime()` parameter from `DateTime` + to `chrono::NaiveDateTime`. + +### Added +- Methods to set and get date and time using `chrono::NaiveDate` and `chrono::NaiveTime`: + - `get_time()` + - `set_time()` + - `get_date()` + - `set_date()` +- [`chrono`] (through [`rtcc`]) dependency. + +### Removed +- `DateTime` data structure was replaced by `chrono::NaiveDateTime`. ## [0.2.0] - 2018-11-16 @@ -22,5 +38,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. This is the initial release to crates.io. All changes will be documented in this CHANGELOG. +[`chrono`]: https://crates.io/crates/chrono +[`rtcc`]: https://crates.io/crates/rtcc + [Unreleased]: https://github.com/eldruin/ds323x-rs/compare/v0.2.0...HEAD [0.2.0]: https://github.com/eldruin/ds323x-rs/compare/v0.1.0...v0.2.0 \ No newline at end of file