From ea68256ae1e15fdcb675dac1ec8e3717a84ed36e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 16 Jan 2024 22:18:58 +0100 Subject: Improve CSS --- src/ui.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ui.rs b/src/ui.rs index 82c8b5c..afc6398 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -109,12 +109,15 @@ async fn dashboard(State(state): State) -> DashboardTemplate<'stati }) .collect(); + let node_startup_time = format!("{} UTC", + node_startup_time.format("%Y-%m-%d %H:%M:%S")); + DashboardTemplate { title: "Dashboard", conf, page: ActivePage::Dashboard, num_received_frames : db.get_num_received_frames(), - node_startup_time : node_startup_time.format("%Y-%m-%d %H:%M:%S").to_string(), + node_startup_time, packets, } } -- cgit v1.2.3