aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index d7b00ec..0577b80 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -623,7 +623,7 @@ fn page_header(title: &str, file_upload: bool, favicon_route: &str, css_route: &
fn convert_to_utc(src_time: Option<SystemTime>) -> Option<String> {
src_time
.map(DateTime::<Local>::from)
- .map(|date_time| date_time.format("%Y/%m/%d %H:%M:%S %:z").to_string())
+ .map(|date_time| date_time.format("%Y-%m-%d %H:%M:%S %:z").to_string())
}
/// Converts a SystemTime to a string readable by a human,