Skip to content

Commit

Permalink
0.2.18 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Sep 8, 2020
1 parent 6f12e5d commit e0e3886
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,31 @@ Versioning].

---

## 0.2.18 [2020-09-08]

### Changed

- The following functions are `const fn` on rustc ≥ 1.46:
- `Date::try_from_ymd`
- `Date::try_from_yo`
- `Time::try_from_hms`
- `Time::try_from_hms_milli`
- `Time::try_from_hms_micro`
- `Time::try_from_hms_nano`
- An `error` module has been created where all existing error types are
contained. The `Error` suffix has been dropped from these types.
- An `ext` module has been created where extension traits are contained.
- A `util` module has been created where utility functions are contained.
- `error::ComponentRange` now implements `Copy`.

For back-compatibility, all items that were moved to newly-contained modules
have been re-exported from their previous locations (and in the case of the
`error` module, with their previous name).

### Fixes

Parsing `format::Rfc3339` now correctly handles the UTC offset (#274).

## 0.2.17 [2020-09-01]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "time"
version = "0.2.17"
version = "0.2.18"
authors = ["Jacob Pratt <[email protected]>"]
edition = "2018"
repository = "https://github.com/time-rs/time"
Expand Down

0 comments on commit e0e3886

Please sign in to comment.