浏览代码

date is already with time

Laserlicht 2 年之前
父节点
当前提交
09cf8376db
共有 1 个文件被更改,包括 1 次插入2 次删除
  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()
     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)