From 09cf8376db9c86c02eb83985cb17edbf58b25507 Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Sat, 23 Sep 2023 18:58:32 +0200 Subject: [PATCH] date is already with time --- android/vcmi-app/src/main/java/eu/vcmi/vcmi/NativeMethods.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/vcmi-app/src/main/java/eu/vcmi/vcmi/NativeMethods.java b/android/vcmi-app/src/main/java/eu/vcmi/vcmi/NativeMethods.java index ee62d9574..756fd510f 100644 --- a/android/vcmi-app/src/main/java/eu/vcmi/vcmi/NativeMethods.java +++ b/android/vcmi-app/src/main/java/eu/vcmi/vcmi/NativeMethods.java @@ -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)