Skip to content

:set-file-timezone no longer works? #1753

Description

@chconnor

In version 0.13.2 I could invoke lnav this way to get UTC log times translated into my local time zone:

TZ="America/Los_Angeles" lnav -c ":set-file-timezone UTC" /var/log/mylogfile

This worked in version 0.13.2. But as of version 0.14.0 and also in 0.14.1 it doesn't work and I get this error on startup:

✘ error: cannot find line
 --> command-option:1
 | :set-file-timezone UTC
 = help: :set-file-timezone zone [pattern]

...and the log lines are shown in UTC.

Am I missing something? Seems like a bug?

Thanks! lnav is the best.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions