From af54469ad667836aa30bbd48c7d463b67a0a080f Mon Sep 17 00:00:00 2001 From: jedkohjk Date: Mon, 29 Jul 2024 02:01:47 +0800 Subject: [PATCH] Format datetime --- src/main/java/reposense/RepoSense.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/reposense/RepoSense.java b/src/main/java/reposense/RepoSense.java index 36daa4d751..330d823538 100644 --- a/src/main/java/reposense/RepoSense.java +++ b/src/main/java/reposense/RepoSense.java @@ -32,7 +32,7 @@ public class RepoSense { private static final Logger logger = LogsManager.getLogger(RepoSense.class); private static final int SERVER_PORT_NUMBER = 9000; - private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("E MMM d HH:mm:ss yyyy z"); + private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("E, d MMM yyyy HH:mm:ss z"); private static final String VERSION_UNSPECIFIED = "unspecified"; /**