Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

style: rustfmt scheduled-pipes timezone test (fix fmt CI on main)

Louis Beaumontd4f9e9a71d29
diff --git a/crates/screenpipe-core/src/pipes/mod.rs b/crates/screenpipe-core/src/pipes/mod.rs
index 3ec58eacd..37b6dcde6 100644
--- a/crates/screenpipe-core/src/pipes/mod.rs
+++ b/crates/screenpipe-core/src/pipes/mod.rs
@@ -5300,7 +5300,11 @@ mod tests {
let cron = parse_human_schedule("every monday at 6pm").expect("should parse");
let from = chrono::Utc.with_ymd_and_hms(2026, 6, 1, 0, 0, 0).unwrap();
let next = cron.after(&from).next().unwrap();
- assert_eq!(next.hour(), 18, "6pm must encode local hour 18, not a shifted hour");
+ assert_eq!(
+ next.hour(),
+ 18,
+ "6pm must encode local hour 18, not a shifted hour"
+ );
}
#[test]