:set-file-timezone no longer works?
Author: chconnorCreated Sep 26, 2026Updated Sep 28, 2026
Labelsbug
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.
Source: tstack/lnav