diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-06-22 04:01:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 00:01:01 -0400 |
commit | 0b7f4c745dbf5ef93a0d1fbf185fd725995a74bb (patch) | |
tree | dfce690975ce6a8f8014cb0d3f2492bf04aa8e9e /sample_configs | |
parent | 6f1a8f7e5b2dd2aad8913da4d1b60a9433779b6f (diff) |
other: fix humantime-related documentation, add tests, support numbers + strings in toml (#1220)
* update documentation and support either numerical times or human times for time_delta and default_time_value
* update docs
* give more human times on error
Diffstat (limited to 'sample_configs')
-rw-r--r-- | sample_configs/default_config.toml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sample_configs/default_config.toml b/sample_configs/default_config.toml index e2459762..74353b3c 100644 --- a/sample_configs/default_config.toml +++ b/sample_configs/default_config.toml @@ -35,7 +35,7 @@ #temperature_type = "fahrenheit" #temperature_type = "celsius" # The default time interval (in milliseconds). -#default_time_value = 60000 +#default_time_value = "60s" # The time delta on each zoom in/out action (in milliseconds). #time_delta = 15000 # Hides the time scale. @@ -157,7 +157,6 @@ # type="proc" # default=true - # Filters - you can hide specific temperature sensors, network interfaces, and disks using filters. This is admittedly # a bit hard to use as of now, and there is a planned in-app interface for managing this in the future: #[disk_filter] |