Skip to content

Some small improvements to time filter code after switch to jiff#1692

Merged
tmccombs merged 4 commits intosharkdp:masterfrom
tmccombs:jiff-more
Mar 22, 2025
Merged

Some small improvements to time filter code after switch to jiff#1692
tmccombs merged 4 commits intosharkdp:masterfrom
tmccombs:jiff-more

Conversation

@tmccombs
Copy link
Copy Markdown
Collaborator

No description provided.

Instead use a thread local variable that we can use to set the current
time, and use a separate now function in tests than the actual binary.
Comment thread src/filter/time.rs Outdated
@tmccombs tmccombs requested a review from tavianator March 22, 2025 08:03
@tmccombs tmccombs merged commit 2b0f609 into sharkdp:master Mar 22, 2025
18 checks passed
@tmccombs tmccombs deleted the jiff-more branch March 22, 2025 21:01
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.

2 participants