1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

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

View File

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