Browse Source

date is already with time

Laserlicht 2 years ago
parent
commit
09cf8376db
1 changed files with 1 additions and 2 deletions
  1. 1 2
      android/vcmi-app/src/main/java/eu/vcmi/vcmi/NativeMethods.java

+ 1 - 2
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)