mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
date is already with time
This commit is contained in:
parent
006431c898
commit
09cf8376db
@ -160,9 +160,8 @@ public class NativeMethods
|
|||||||
public static String getFormattedDateTime()
|
public static String getFormattedDateTime()
|
||||||
{
|
{
|
||||||
String currentDate = new SimpleDateFormat((new SimpleDateFormat()).toLocalizedPattern(), Locale.getDefault()).format(new Date());
|
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)
|
private static void internalProgressDisplay(final boolean show)
|
||||||
|
Loading…
Reference in New Issue
Block a user