You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to add a short format for timestamps for readability, such as 01-02 15:04:05. It might be a form --timestamps=short or a new flag like --short-timestamps.
Though the current format for timestamps 2006-01-02T15:04:05.000000000Z07:00 is easy to be parsed by programs, it is a bit lengthy for humans.
Candidates for the short timestamp format are as follows. I prefer the 01-02 15:04:05 format.
What would you like to be added:
I would like to add a short format for timestamps for readability, such as
01-02 15:04:05
. It might be a form--timestamps=short
or a new flag like--short-timestamps
.Though the current format for timestamps
2006-01-02T15:04:05.000000000Z07:00
is easy to be parsed by programs, it is a bit lengthy for humans.Candidates for the short timestamp format are as follows. I prefer the
01-02 15:04:05
format.01-02 15:04:05
2006-01-02 15:04:05
Jan _2 15:04:05
15:04:05
2006-01-02T15:04:05.000000000Z07:00
We can also colorize the timestamp field to improve the readability, but I guess discussing it in another issue is better.
Why is this needed:
The flag
--timestamps
is helpful because it converts times to local time by default. But the format is a bit long to use in daily use.Here is the example of the current output with
--timestamps
.If we have a short format like
01-02 15:04:05
, it would be much easier to read.The text was updated successfully, but these errors were encountered: