Update changelog

pull/4/head
Diego Barrios Romero 2020-05-02 11:49:23 +02:00
parent c3106c0f49
commit fdc71accf3
1 changed files with 20 additions and 1 deletions

View File

@ -7,7 +7,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased] ## [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 ## [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 is the initial release to crates.io. All changes will be documented in
this CHANGELOG. 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 [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 [0.2.0]: https://github.com/eldruin/ds323x-rs/compare/v0.1.0...v0.2.0