Skip to content

Commit

Permalink
fix #105
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Jul 19, 2022
1 parent dd7a884 commit 8552641
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shadow-rs"
version = "0.14.0"
version = "0.14.1"
authors = ["baoyachi <[email protected]>"]
edition = "2021"
description = "A build-time information stored in your rust project"
Expand Down
3 changes: 2 additions & 1 deletion src/data_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ impl Format for OffsetDateTime {
let fmt = format_description::parse(
"[year]-[month]-[day] [hour]:[minute]:[second] [offset_hour \
sign:mandatory]:[offset_minute]",
).unwrap();
)
.unwrap();
self.format(&fmt).unwrap()
}
}
Expand Down

0 comments on commit 8552641

Please sign in to comment.