mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Fixed invalid crash report filename
This commit is contained in:
parent
5809c43516
commit
41a813ece3
@ -109,7 +109,7 @@ public class DesktopLauncher {
|
||||
String result = Strings.parseException(e, true);
|
||||
boolean failed = false;
|
||||
|
||||
String filename = "crash-report-" + DateFormat.getDateTimeInstance().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());
|
||||
|
Loading…
Reference in New Issue
Block a user