diff --git a/src/tools/systemd/time.rs b/src/tools/systemd/time.rs index c8cc8468..69f5f5fb 100644 --- a/src/tools/systemd/time.rs +++ b/src/tools/systemd/time.rs @@ -54,7 +54,7 @@ impl DateTimeValue { let mut next: Option = None; let mut set_next = |v: u32| { if let Some(n) = next { - if v > n { next = Some(v); } + if v < n { next = Some(v); } } else { next = Some(v); }