1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Merge pull request #3327 from Laserlicht/datetime

date time format
This commit is contained in:
Ivan Savenko
2023-12-18 13:21:01 +02:00
committed by GitHub
9 changed files with 48 additions and 61 deletions

View File

@ -156,14 +156,6 @@ public class NativeMethods
}
}
@SuppressWarnings(Const.JNI_METHOD_SUPPRESS)
public static String getFormattedDateTime()
{
String currentDate = new SimpleDateFormat((new SimpleDateFormat()).toLocalizedPattern(), Locale.getDefault()).format(new Date());
return currentDate;
}
private static void internalProgressDisplay(final boolean show)
{
final Context ctx = SDL.getContext();