From 68f8e56b1d72c320386b74f72ead61c919748642 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 23 Jun 2024 10:47:15 -0400 Subject: [PATCH] Tweak log formatting --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e4ebbe0..20268e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,7 +57,7 @@ fn message<'r>(message: Form>) -> Result, std::i .open("messages.log") .unwrap(); let now = Local::now(); - writeln!(&mut file, "{}, {}", now.format("[%Y-%m-%d, %H:%M:%S]"), message.message)?; + writeln!(&mut file, "{} {}", now.format("[%Y-%m-%d %H:%M:%S]"), message.message)?; Ok(get(true)) }