心动空间

This commit is contained in:
2025-11-22 18:38:49 +08:00
parent 5eac6d302c
commit 2a6d2e4709
45 changed files with 972 additions and 251 deletions

View File

@@ -189,7 +189,7 @@ public class TimeUtils {
}
public static String getDateToStringNoZ(long time) {
Date d = new Date(time);
SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
return sf.format(d);
}
@@ -255,7 +255,7 @@ public class TimeUtils {
}
// 如果天数不足1天根据需求可以返回空字符串也可以返回 "0天" 或其他
return ""; // 或者 return "0天";
return "1天"; // 或者 return "0天";
}
}