Skip to content

fix(parser): accept numeric journalctl timezones#41

Merged
stacknil merged 1 commit into
mainfrom
stacknil/loglens-journalctl-numeric-timezone
May 28, 2026
Merged

fix(parser): accept numeric journalctl timezones#41
stacknil merged 1 commit into
mainfrom
stacknil/loglens-journalctl-numeric-timezone

Conversation

@stacknil
Copy link
Copy Markdown
Owner

Summary

  • fix journalctl numeric timezone parsing so documented +HHMM / +HH:MM offsets are accepted
  • add parser coverage for compact positive and colon negative offsets, including UTC normalization expectations

Validation

  • & 'C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe' --build build --config Debug --target test_parser
  • & 'C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\ctest.exe' --test-dir build -C Debug -R parser --output-on-failure
  • & 'C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe' --build build --config Debug
  • & 'C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\ctest.exe' --test-dir build -C Debug --output-on-failure

@stacknil stacknil merged commit 5d3d539 into main May 28, 2026
7 checks passed
@stacknil stacknil deleted the stacknil/loglens-journalctl-numeric-timezone branch May 28, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant