From e2567a5eb391f39cc10acf1dee5a37e30a37586e Mon Sep 17 00:00:00 2001 From: JuanLeon Lahoz Date: Tue, 13 Sep 2022 18:03:45 +0200 Subject: [PATCH] Bump version to 0.5.4 --- CHANGELOG.md | 6 ++++-- Cargo.lock | 2 +- Cargo.toml | 2 +- src/read/dateparser.rs | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f96aea..6c67d12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ -0.5.3 +0.5.4 ===== -Add LICENSE file to distribution +* Add LICENSE file to distribution + +* Add AUR installation info 0.5.2 ===== diff --git a/Cargo.lock b/Cargo.lock index 53f971f..10c0df8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "lowcharts" -version = "0.5.2" +version = "0.5.4" dependencies = [ "assert_cmd", "atty", diff --git a/Cargo.toml b/Cargo.toml index 3ec12b5..d0c8b5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lowcharts" -version = "0.5.2" +version = "0.5.4" authors = ["JuanLeon Lahoz "] edition = "2018" description = "Tool to draw low-resolution graphs in terminal" diff --git a/src/read/dateparser.rs b/src/read/dateparser.rs index 2e61fbd..69df485 100644 --- a/src/read/dateparser.rs +++ b/src/read/dateparser.rs @@ -42,7 +42,7 @@ impl LogDateParser { // of the "supported" formats (so that we do not lose precision digits // or TZ info). for (i, c) in log_line.chars().enumerate() { - if c.is_digit(10) { + if c.is_ascii_digit() { for j in (i..(i + MAX_LEN).min(log_line.len() + 1)).rev() { if let Some(parser) = Self::guess_parser(&log_line[i..j]) { return Ok(LogDateParser {