Skip to content

Commit

Permalink
v0.3.31 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Dec 19, 2023
1 parent 605495a commit 8067540
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,18 @@ The format is based on [Keep a Changelog]. This project adheres to [Semantic Ver

---

## 0.3.31 [2023-12-19]

### Added

- `OFfsetDateTime::new_in_offset`
- `OffsetDateTime::new_utc`

### Changed

- The valid range of `UtcOffset` has been expanded from ±23:59:59 to ±25:59:59. This is to support
the full POSIX range while permitting infallible negation.

## 0.3.30 [2023-10-13]

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -5,7 +5,7 @@ resolver = "2"

[workspace.dependencies]
time-core = { path = "time-core", version = "=0.1.2" }
time-macros = { path = "time-macros", version = "=0.2.15" }
time-macros = { path = "time-macros", version = "=0.2.16" }

criterion = { version = "0.5.1", default-features = false }
deranged = { version = "0.3.9", default-features = false, features = [
Expand Down
2 changes: 1 addition & 1 deletion time-macros/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "time-macros"
version = "0.2.15"
version = "0.2.16"
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
edition = "2021"
rust-version = "1.67.0"
Expand Down
2 changes: 1 addition & 1 deletion time-macros/src/offset.rs
Expand Up @@ -52,7 +52,7 @@ pub(crate) fn parse(chars: &mut Peekable<token_stream::IntoIter>) -> Result<Offs
}
}

if hours >= 24 {
if hours > 25 {
Err(Error::InvalidComponent {
name: "hour",
value: hours.to_string(),
Expand Down
2 changes: 1 addition & 1 deletion time/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "time"
version = "0.3.30"
version = "0.3.31"
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
edition = "2021"
rust-version = "1.67.0"
Expand Down

0 comments on commit 8067540

Please sign in to comment.