From d93574504b17d1e5dc522aaa9df411cc9356a8a0 Mon Sep 17 00:00:00 2001 From: phantinuss <79651203+phantinuss@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:23:37 +0200 Subject: [PATCH] fix: correct comparison in evtxls `--to` timestamp --- src/bin/evtxls/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/evtxls/main.rs b/src/bin/evtxls/main.rs index 7d1d845..a278074 100644 --- a/src/bin/evtxls/main.rs +++ b/src/bin/evtxls/main.rs @@ -80,7 +80,7 @@ impl EvtxLs { } if let Some(not_after) = self.cli.not_after.as_ref() { - if &record.timestamp < not_after { + if &record.timestamp > not_after { continue; } }