From 1f301b630132890de093120bf3471a1f1934235d Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Wed, 26 Jul 2023 04:25:45 +0200 Subject: [PATCH] Prettifying docs --- docs/csaf_downloader.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/csaf_downloader.md b/docs/csaf_downloader.md index 19adbd9..19d59e0 100644 --- a/docs/csaf_downloader.md +++ b/docs/csaf_downloader.md @@ -61,24 +61,24 @@ validatorpreset = ["mandatory"] The `timerange` parameter enables downloading advisories which last changes falls into a given intervall. There are three possible notations: -1 - Relative. If the given string follows the rules of being a [Go duration](https://pkg.go.dev/time@go1.20.6#ParseDuration) +1. Relative. If the given string follows the rules of being a [Go duration](https://pkg.go.dev/time@go1.20.6#ParseDuration) the time interval from now minus that duration till now is used. E.g. `"3h"` means downloading the advisories that have changed in the last three hours. -2 - Absolute. If the given string is an RFC 3339 date timestamp the time interval between - this date and now is used. - E.g. "2006-01-02" means that all files between 2006 January 2nd and now going to being - downloaded. Accepted patterns are: - - "2006-01-02T15:04:05Z07:00" - - "2006-01-02T15:04:05" - - "2006-01-02T15:04" - - "2006-01-02T15" - - "2006-01-02" - - "2006-01" - - "2006" - Missing parts are set to the smallest value possible in that field. +2. Absolute. If the given string is an RFC 3339 date timestamp the time interval between + this date and now is used. + E.g. "2006-01-02" means that all files between 2006 January 2nd and now going to being + downloaded. Accepted patterns are: + - `"2006-01-02T15:04:05Z07:00"` + - `"2006-01-02T15:04:05"` + - `"2006-01-02T15:04"` + - `"2006-01-02T15"` + - `"2006-01-02"` + - `"2006-01"` + - `"2006"` + Missing parts are set to the smallest value possible in that field. -3 - Range. Same as 2 but separated by a `,` to span an interval. e.g `2019,2024` - spans an interval from 1st January 2019 to the 1st January of 2024. +3. Range. Same as 2 but separated by a `,` to span an interval. e.g `2019,2024` + spans an interval from 1st January 2019 to the 1st January of 2024. All interval boundaries are inclusive.