Skip to content

Commit b71597c

Browse files
committed
0.2.24 release
This includes the silencing of one clippy lint, which does not necessitate a new release.
1 parent 896c373 commit b71597c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ Versioning].
77

88
---
99

10+
## 0.2.24 [2021-01-08]
11+
12+
### Fixed
13+
14+
- The implementation of `OffsetDateTime::timestamp`, `OffsetDateTime::unix_timestamp`,
15+
`PrimitiveDatetime::timestamp`, and `OffsetDateTime::unix_timestamp` have been corrected. This
16+
affects all negative timestamps with a nonzero subsecond value.
17+
1018
## 0.2.23 [2020-11-17]
1119

1220
## Compatibility notes

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "time"
3-
version = "0.2.23"
3+
version = "0.2.24"
44
authors = ["Jacob Pratt <[email protected]>"]
55
edition = "2018"
66
repository = "https://github.com/time-rs/time"

time-macros-impl/src/date.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ impl Parse for Date {
3333
input.parse::<Token![-]>()?;
3434

3535
// year-week-day
36+
#[allow(clippy::manual_strip)]
3637
let (year, ordinal) = if input.peek(Ident) {
3738
let week = {
3839
let week = input.parse::<Ident>()?;

0 commit comments

Comments
 (0)