diff --git a/resource/i18n/en.json b/resource/i18n/en.json index 64980526f..37682b947 100644 --- a/resource/i18n/en.json +++ b/resource/i18n/en.json @@ -169,6 +169,7 @@ "levelRequirements": "Level requirements", "seedingPoints": "Seeding Points", "showHnR": "H&R", + "showLastUpdateTimeAsRelativeTime":"Last update time as relative time", "selectColumns": "Select Columns", "week": "Expressed in weeks", "timeline": "Time line", diff --git a/resource/i18n/zh-CN.json b/resource/i18n/zh-CN.json index ec3905e11..5674e7ded 100644 --- a/resource/i18n/zh-CN.json +++ b/resource/i18n/zh-CN.json @@ -166,6 +166,7 @@ "levelRequirements": "等级要求", "seedingPoints": "保种积分", "showHnR": "H&R", + "showLastUpdateTimeAsRelativeTime": "最后更新时间显示为相对时间", "selectColumns": "过滤列", "week": "时间显示为周数", "timeline": "时间轴", diff --git a/src/options/views/Home.vue b/src/options/views/Home.vue index 188d495a7..3f4984802 100644 --- a/src/options/views/Home.vue +++ b/src/options/views/Home.vue @@ -48,6 +48,8 @@ @change="updateViewOptions"> + @@ -405,10 +407,10 @@ {{ props.item.user.joinTime | timeAgo(showWeek) }} - - - {{ props.item.user.lastUpdateTime | formatDate("YYYY-MM-DD HH:mm:ss") }} + + + + @@ -526,7 +528,7 @@ export default Vue.extend({ }, { text: this.$t("home.headers.lastUpdateTime"), - align: "right", + align: "center", value: "user.lastUpdateTime", }, { @@ -554,6 +556,7 @@ export default Vue.extend({ showSeedingPoints: true, // showUserUploads: false, showHnR: true, + showLastUpdateTimeAsRelativeTime:true, showWeek: false, }; }, @@ -641,6 +644,7 @@ export default Vue.extend({ showLevelRequirements: true, showSeedingPoints: true, showHnR: true, + showLastUpdateTimeAsRelativeTime:true, showWeek: false, selectedHeaders: this.selectedHeaders, }); @@ -1131,6 +1135,7 @@ export default Vue.extend({ showSeedingPoints: this.showSeedingPoints, // showUserUploads: this.showUserUploads, showHnR: this.showHnR, + showLastUpdateTimeAsRelativeTime: this.showLastUpdateTimeAsRelativeTime, showWeek: this.showWeek, selectedHeaders: this.selectedHeaders, },