We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My logs are timestamped with a format YYYY-DDDTHH:MM:SS. Using the day of year for the date.
The timestamp-format does not currently support the strftime %j pattern.
Would it be possible to add this pattern? If I am pointed in the right direction I wouldn't mind implementing myself as submit a pull request
The text was updated successfully, but these errors were encountered:
lnav has a custom timestamp parser/formatter in here:
https://github.com/tstack/lnav/blob/master/src/ptimec.hh https://github.com/tstack/lnav/blob/master/src/ptimec_rt.cc
So, you would have to add the new directive in there.
The tm2sec() function converts the tm struct to epoch time, so that will need to be modified to pay attention to tm_yday (if it is set).
tm2sec()
tm
tm_yday
Sorry, something went wrong.
No branches or pull requests
My logs are timestamped with a format YYYY-DDDTHH:MM:SS. Using the day of year for the date.
The timestamp-format does not currently support the strftime %j pattern.
Would it be possible to add this pattern? If I am pointed in the right direction I wouldn't mind implementing myself as submit a pull request
The text was updated successfully, but these errors were encountered: