Skip to content

Commit 16db5ae

Browse files
committed
Add --epoch to the docs
1 parent b724cf9 commit 16db5ae

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

docs/manual.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Synopsis
2020
[--hide-pattern] [--show-pattern]
2121
[--hide-range] [--show-range {hidden,limits,median,quartiles,graph}]
2222
[--hide-samples] [--show-samples]
23-
[--min-timestamp WHEN] [--max-timestamp WHEN]
23+
[--min-timestamp WHEN] [--max-timestamp WHEN] [--epoch WHEN ]
2424
[--max-numeric-len LEN] [--sample-bytes SIZE]
2525
[--strip-whitespace] [--no-strip-whitespace]
2626
[--csv-format FIELD[QUOTE]] [--yaml-safe] [--no-yaml-safe]
@@ -145,6 +145,14 @@ Optional Arguments
145145
absolute timestamp (in ISO-8601 format) or a duration to be added to the
146146
current timestamp
147147

148+
.. option:: --epoch WHEN
149+
150+
The epoch from which datetimes are measured. Can be specified as an
151+
absolute timestamp (in ISO-8601 format: YYYY-mm-ddTHH:MM:SS), or one of the
152+
special strings, "unix" (which is equivalent to 1970-01-01) or
153+
"excel" (which is roughly equivalent to 1900-01-01, with some adjustments).
154+
The default is "unix"
155+
148156
.. option:: --max-numeric-len LEN
149157

150158
The maximum number of characters that a number, integer or floating-point,

0 commit comments

Comments
 (0)