Skip to content

Commit 5382b50

Browse files
Merge PR release/v0.8.1
Release/v0.8.1
2 parents f5ca006 + 42ca19a commit 5382b50

3 files changed

Lines changed: 45 additions & 23 deletions

File tree

Cargo.lock

Lines changed: 41 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "manga-tui"
3-
version = "0.8.0"
3+
version = "0.8.1"
44
edition = "2021"
55
authors = ["Josue <josuebarretogit@gmail.com>"]
66
readme = "README.md"
@@ -27,7 +27,7 @@ tui-widget-list = "0.13.0"
2727
crossterm = { version = "0.29.0", features = ["event-stream"] }
2828
directories = "6.0.0"
2929
image = "0.25.4"
30-
reqwest = { version = "0.12.15", features = ["json", "native-tls-alpn", "cookies", "http2", "gzip", "deflate"] }
30+
reqwest = { version = "0.12.20", features = ["json", "native-tls-alpn", "cookies", "http2", "gzip", "deflate"] }
3131
tokio = { version = "1.44.2", features = ["full"] }
3232
serde = { version = "1.0.219", features = ["derive"] }
3333
strum = "0.26.3"

src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ pub fn display_dates_since_publication(date: NaiveDate) -> String {
2727
if day <= 31 {
2828
format!("{} days ago", day.abs())
2929
} else if month <= 12 {
30-
return format!("{month} months ago");
30+
format!("{month} months ago")
3131
} else {
32-
return format!("{year} years ago");
32+
format!("{year} years ago")
3333
}
3434
}
3535

0 commit comments

Comments
 (0)