date is already with time

This commit is contained in:
Laserlicht
2023-09-23 18:58:32 +02:00
committed by GitHub
parent 006431c898
commit 09cf8376db
@@ -160,9 +160,8 @@ public class NativeMethods
public static String getFormattedDateTime()
{
String currentDate = new SimpleDateFormat((new SimpleDateFormat()).toLocalizedPattern(), Locale.getDefault()).format(new Date());
String currentTime = new SimpleDateFormat("HH:mm:ss", Locale.getDefault()).format(new Date());
return currentDate + " " + currentTime;
return currentDate;
}
private static void internalProgressDisplay(final boolean show)