From 8916736db129af4b1b784146f0e32d587741147b Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 9 Jul 2024 13:46:46 +0200 Subject: [PATCH] fix: use local time instead of Utc #3 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0e34d5a..c858d37 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,7 +27,7 @@ fn main() -> Result<(), io::Error> { let mut terminal = Terminal::new(backend)?; loop { - let raw_time = chrono::Utc::now().round_subsecs(0); + let raw_time = chrono::Local::now().round_subsecs(0); let splits: Vec = raw_time .naive_local() .to_string()