From 1d00bdb757d63d72d39237057439514b5aa58874 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Mon, 20 Nov 2023 17:54:50 -0800 Subject: [PATCH] Squelch logging and remove unused variable. --- web/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/src/lib.rs b/web/src/lib.rs index ad9f4cd..0a22e43 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -489,7 +489,6 @@ fn human_age(timestamp: i64) -> String { .unwrap() .with_timezone(&Local); let age = now - ts; - let weekday = now.weekday(); let datetime = if age < Duration::minutes(1) { format!("{} min. ago", age.num_seconds()) } else if age < Duration::hours(1) { @@ -503,7 +502,6 @@ fn human_age(timestamp: i64) -> String { } else { ts.format("%b %e %H:%M").to_string() }; - info!("dateime {datetime} TZ: {}", ts.offset()); datetime }