1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)