Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
h1romas4 committed May 7, 2024
1 parent 34068a8 commit 3a1d58f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static DEFAULT_ARROW_SEPARATOR_2: &str = "";
static DEFAULT_ARROW_SEPARATOR_3: &str = "";
static DEFAULT_TEXT_ALIGN: &str = "right";
static DEFAULT_DATE_FORMAT: &str = "%Y-%m-%d %a";
static DEFAULT_TIME_ALIGN: &str = "%H:%M";
static DEFAULT_TIME_FORMAT: &str = "%H:%M";

pub struct Config {
timezone: LinkedHashMap<String, f64>,
Expand All @@ -38,7 +38,7 @@ impl Default for Config {
timezone,
default_timezone: default_timezone.to_string(),
date_format: DEFAULT_DATE_FORMAT.to_string(),
time_format: DEFAULT_TIME_ALIGN.to_string(),
time_format: DEFAULT_TIME_FORMAT.to_string(),
background_color: parse_color(DEFAULT_BACKGROUND_COLOR).unwrap(),
foreground_color: parse_color(DEFAULT_FOREGROUND_COLOR).unwrap(),
pane_color: parse_color(DEFAULT_PANE_COLOR).unwrap(),
Expand Down

0 comments on commit 3a1d58f

Please sign in to comment.