mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-22 02:12:25 +00:00
Debug timestamp should be in 24h format
This commit is contained in:
parent
5039cef665
commit
d3111a3670
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user