update PastGirlListPanel.prefab
This commit is contained in:
@@ -416,7 +416,7 @@ export default class Utils {
|
||||
*/
|
||||
public static formatChatTime(timestamp: number | null): string {
|
||||
if (!timestamp) {
|
||||
return "暂无聊天记录";
|
||||
return LanguageUtils.getText("pastgirllistpanel.nomemory");
|
||||
}
|
||||
|
||||
const now = new Date();
|
||||
@@ -431,7 +431,7 @@ export default class Utils {
|
||||
return `${hours}:${minutes}`;
|
||||
} else if (diffDays < 7) {
|
||||
// 一周内:显示x天前
|
||||
return `${diffDays}${LanguageUtils.getText("purchasepanel.day")}}`;
|
||||
return `${diffDays}${LanguageUtils.getText("purchasepanel.day")}`;
|
||||
} else if (diffDays < 30) {
|
||||
// 一个月内:显示x周前
|
||||
const weeks = Math.floor(diffDays / 7);
|
||||
|
||||
Reference in New Issue
Block a user