Skip to content

Commit

Permalink
0.2.24 release
Browse files Browse the repository at this point in the history
This includes the silencing of one clippy lint, which does not
necessitate a new release.
  • Loading branch information
jhpratt committed Jan 9, 2021
1 parent 896c373 commit b71597c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,14 @@ Versioning].

---

## 0.2.24 [2021-01-08]

### Fixed

- The implementation of `OffsetDateTime::timestamp`, `OffsetDateTime::unix_timestamp`,
`PrimitiveDatetime::timestamp`, and `OffsetDateTime::unix_timestamp` have been corrected. This
affects all negative timestamps with a nonzero subsecond value.

## 0.2.23 [2020-11-17]

## Compatibility notes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "time"
version = "0.2.23"
version = "0.2.24"
authors = ["Jacob Pratt <the.z.cuber@gmail.com>"]
edition = "2018"
repository = "https://github.com/time-rs/time"
Expand Down
1 change: 1 addition & 0 deletions time-macros-impl/src/date.rs
Expand Up @@ -33,6 +33,7 @@ impl Parse for Date {
input.parse::<Token![-]>()?;

// year-week-day
#[allow(clippy::manual_strip)]
let (year, ordinal) = if input.peek(Ident) {
let week = {
let week = input.parse::<Ident>()?;
Expand Down

0 comments on commit b71597c

Please sign in to comment.