Skip to content

Commit

Permalink
Bump version to 0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-leon committed Sep 13, 2022
1 parent 4946516 commit e2567a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
=====
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lowcharts"
version = "0.5.2"
version = "0.5.4"
authors = ["JuanLeon Lahoz <[email protected]>"]
edition = "2018"
description = "Tool to draw low-resolution graphs in terminal"
Expand Down
2 changes: 1 addition & 1 deletion src/read/dateparser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e2567a5

Please sign in to comment.