lnav icon indicating copy to clipboard operation
lnav copied to clipboard

Always show timezone

Open travisspencer opened this issue 8 years ago • 0 comments

It would be nice if the timezone was always shown, even if it's just a Z to indicate that the time is in UTC.

For instance, given this log message:

{"dateTime":"2016-10-28T10:00:36+02:00", ... }

And the audit format defined here, lnav shows the time like this:

2016-10-28T10:05:45.000 ...

What timezone is that in though? To determine this, one has to view the file with a different tool. It would better to indicate this by adding a Z to the timestamp if it's in UTC or add an offset, like in the original message.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38981535-always-show-timezone?utm_campaign=plugin&utm_content=tracker%2F449456&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F449456&utm_medium=issues&utm_source=github).

travisspencer avatar Nov 05 '16 10:11 travisspencer