Skip to content
New issue

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

feat: timestamp diff highlighting #20

Merged
merged 6 commits into from
Jun 4, 2021
Merged

Conversation

trentm
Copy link
Owner

@trentm trentm commented Jun 4, 2021

This marks up the rendered @timestamp field to allow a color scheme to
style the same and different parts independently. The default color scheme
underlines the different part. If the timestamps are in RFD 3339 format it
attempts to detect if the time offset (the time zone) at the end of the
timestamp is the same.

This adds "timestamp", "timestampSame" and "timestampDiff" roles to the
coloring.

@trentm trentm self-assigned this Jun 4, 2021
@trentm
Copy link
Owner Author

trentm commented Jun 4, 2021

@trentm trentm changed the title feat: timestamp highlighting feat: timestamp diff highlighting Jun 4, 2021
@trentm trentm merged commit 347466e into main Jun 4, 2021
@trentm trentm deleted the feat-timestamp-highlighting branch June 4, 2021 05:22
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