fix: use local time instead of Utc #3

This commit is contained in:
Christoph J. Scherr 2024-07-09 13:46:46 +02:00
parent 90656af7aa
commit 8916736db1
1 changed files with 1 additions and 1 deletions

View File

@ -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<String> = raw_time
.naive_local()
.to_string()