Sfoglia il codice sorgente

修改编译日期格式

weizhengliang 2 anni fa
parent
commit
3d64064467
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      android_bed/build.gradle

+ 1 - 1
android_bed/build.gradle

@@ -75,7 +75,7 @@ android {
 //获取编译日期
 String getDate() {
     Date date = new Date();
-    String dates = "\""+date.format("yyyy年MM月dd日", TimeZone.getTimeZone("UTC"))+"\"";
+    String dates = "\""+date.format("yyyy/MM/dd", TimeZone.getTimeZone("UTC"))+"\"";
     return dates;
 }