From d3111a3670c44e1c3aa195e84f4819c6d28a0094 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 5 Aug 2016 16:38:34 +0200 Subject: [PATCH] Debug timestamp should be in 24h format --- src/main/java/de/epiceric/shopchest/ShopChest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/epiceric/shopchest/ShopChest.java b/src/main/java/de/epiceric/shopchest/ShopChest.java index 81799c1..b8c4983 100644 --- a/src/main/java/de/epiceric/shopchest/ShopChest.java +++ b/src/main/java/de/epiceric/shopchest/ShopChest.java @@ -363,7 +363,7 @@ public class ShopChest extends JavaPlugin { if (config.enable_debug_log) { try { Calendar c = Calendar.getInstance(); - String timestamp = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss").format(c.getTime()); + String timestamp = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(c.getTime()); fw.write(String.format("[%s] %s\r\n", timestamp, message)); fw.flush(); } catch (IOException e) {