All apps/dateseq

dateseq

dateseq

Generate a sequence of dates (dateutils).

Runs as dateseq|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 11 options
Published once and never changed; check the digest before caching
sha256
29499ea88a3da3114dd14d39e3ddc6d1451181a2c3a0887ace3bd0f0f5232696
Size
3858 bytes
OptionsOn dateseq itself
--help-h
Print help and exit
--version-V
Print version and exit
--quiet-q
Suppress message about date/time and duration parse errors and fix-ups
-f--format
Output format. This can either be a specifier string (similar to strftime()'s FMT) or the name of a calendar <string>
-i--input-format
Input format, can be used multiple times. Each date/time will be passed to the input format parsers in the order they are given, if a date/time can be read successfully with a given input format specifier string, that value will be used <input format>
-b--base
For underspecified input use DT as a fallback to fill in missing fields. Also used for ambiguous format specifiers to position their range on the absolute time line. Must be a date/time in ISO8601 format. If omitted defaults to the current date/time <base>
-e--backslash-escapes
Enable interpretation of backslash escapes in the output and input format specifier strings
--locale
Format results according to LOCALE, this would only affect month and weekday names <locale>
-s--skip
Skip weekdays specified by WEEKDAY. WEEKDAY can be a single weekday (Mon, Tue, etc.), and to skip several days the --skip option can be used multiple times. WEEKDAY can also be a comma-separated list of weekday names, or `ss' to skip weekends (sat+sun) altogether. WEEKDAY can also contain date ranges like `mo-we' for Monday to Wednesday <weekday>
--alt-inc
Alternative increment to use when a date is hit that is skipped as per --skip. This increment will be applied until a non-skipped date is reached. The special case `0' (default) deactivates alternative incrementing. A useful value could be `1d' for increasing sequences and `-1d' for decreasing sequences, so if a skipped date is encountered the next non-skipped date after/before will be used <alternative increment>
--compute-from-last
Compute a start value from LAST using INCREMENT. This option has an effect only when INCREMENT is not a divisor of the duration between FIRST and LAST. In such case, an alternative FIRST will be computed by consecutively subtracting INCREMENT from LAST until FIRST is hit or crossed
ArgumentsPositional, in order
<FIRST>
Date/time
<INCREMENT>
· optional
<LAST>
Date/time