Debug timestamp should be in 24h format

This commit is contained in:
Eric 2016-08-05 16:38:34 +02:00
parent 5039cef665
commit d3111a3670

View File

@ -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) {