From 28286f538943e4bb01f53b66eb85e55ad702a8e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sat, 14 Jan 2023 20:20:59 +0100 Subject: [PATCH] Fix date parser --- src/main/java/wtf/beatrice/hidekobot/util/Logger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/util/Logger.java b/src/main/java/wtf/beatrice/hidekobot/util/Logger.java index eb0b7e1..e4b5eee 100644 --- a/src/main/java/wtf/beatrice/hidekobot/util/Logger.java +++ b/src/main/java/wtf/beatrice/hidekobot/util/Logger.java @@ -20,7 +20,7 @@ public class Logger // objects that we need to have for a properly formatted message private String className; private final String format = "[%date% %time%] [%class%] %message%"; - private final DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("YYYY-MM-dd"); + private final DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); private final DateTimeFormatter timeFormatter = DateTimeFormatter.ofPattern("HH:mm:ss");