From a4cfa3333c5611dc5165c2584cf25773df5b50ee Mon Sep 17 00:00:00 2001 From: hacknus Date: Sun, 1 Dec 2024 10:13:06 +0100 Subject: [PATCH] change date formatting --- src/data/information_panel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/information_panel.rs b/src/data/information_panel.rs index 2343a321..e4c2d9b4 100644 --- a/src/data/information_panel.rs +++ b/src/data/information_panel.rs @@ -339,14 +339,14 @@ impl InformationPanel { if let Some(date) = item.metadata().created { ui.label("Created: "); let created: DateTime = date.into(); - ui.label(format!("{}", created.format("%Y-%m-%d %H:%M:%S"))); + ui.label(format!("{}", created.format("%d.%m.%Y, %H:%M:%S"))); ui.end_row(); } if let Some(date) = item.metadata().last_modified { ui.label("Last Modified: "); let modified: DateTime = date.into(); - ui.label(format!("{}", modified.format("%Y-%m-%d %H:%M:%S"))); + ui.label(format!("{}", modified.format("%d.%m.%Y, %H:%M:%S"))); ui.end_row(); }