Fix date parser
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2023-01-14 20:20:59 +01:00
parent b174c581e9
commit 28286f5389

View File

@ -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");