mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add "epoch" timestamp option
Add an option that prints the timestamp as the number of seconds since the Unix epoch.
This commit is contained in:
parent
cdc773100c
commit
f47467271f
6 changed files with 23 additions and 1 deletions
|
|
@ -148,6 +148,8 @@ Set timestamp format to any of the following timestamp formats:
|
|||
24-hour format relative to previous timestamp
|
||||
.IP "\fBiso8601"
|
||||
ISO8601 format ("YYYY-MM-DDThh:mm:ss.sss")
|
||||
.IP "\fBepoch"
|
||||
Seconds since Unix epoch (1970-01-01)
|
||||
.PP
|
||||
Default format is \fB24hour\fR
|
||||
.RE
|
||||
|
|
|
|||
|
|
@ -114,6 +114,8 @@ OPTIONS
|
|||
|
||||
iso8601 ISO8601 format ("YYYY-MM-DDThh:mm:ss.sss")
|
||||
|
||||
epoch Seconds since Unix epoch (1970-01-01)
|
||||
|
||||
Default format is 24hour
|
||||
|
||||
--timestamp-timeout <ms>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue