diff options
| author | Daniel Jankowski <daniel.jankowski@rub.de> | 2024-07-15 16:16:46 +0200 |
|---|---|---|
| committer | Daniel Jankowski <daniel.jankowski@rub.de> | 2024-07-15 16:16:46 +0200 |
| commit | 68d8d4998547e859527ad7aa7112d09ee74f0fbb (patch) | |
| tree | 117f770a008eb44099410c7378d2770122f30895 /src/widgets/datetime.rs | |
| parent | chore: update cargo deps (diff) | |
| download | sl0pstatus-68d8d4998547e859527ad7aa7112d09ee74f0fbb.tar.gz sl0pstatus-68d8d4998547e859527ad7aa7112d09ee74f0fbb.tar.xz sl0pstatus-68d8d4998547e859527ad7aa7112d09ee74f0fbb.zip | |
feat: add color aliases
closes #75
Diffstat (limited to 'src/widgets/datetime.rs')
| -rw-r--r-- | src/widgets/datetime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/datetime.rs b/src/widgets/datetime.rs index 1d3a23b..5e9c099 100644 --- a/src/widgets/datetime.rs +++ b/src/widgets/datetime.rs @@ -51,7 +51,7 @@ impl DateTimeWidget { format: format.to_owned(), date_format: date_format.to_owned(), time_format: time_format.to_owned(), - color_format: FormattedPart::multiple_from_format_string(color_format), + color_format: FormattedPart::multiple_from_format_string(color_format, config), time_zone, } } |
