Fixed some Windows bugs

This commit is contained in:
Anuken
2018-01-04 15:38:00 -08:00
parent 4d44fc3855
commit 3004e627cc
2 changed files with 2 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ public class DesktopLauncher {
String result = Strings.parseException(e, true);
boolean failed = false;
String filename = "crash-report-" + new SimpleDateFormat("dd-MM-yy h:mm:ss").format(new Date()) + ".txt";
String filename = "crash-report-" + new SimpleDateFormat("dd-MM-yy h.mm.ss").format(new Date()) + ".txt";
try{
Files.write(Paths.get(filename), result.getBytes());