feat(提交列表): 同一分钟里连交好几次分不清先后——每行的提交时间带上秒
Deploy / deploy (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-09 15:31:43 +08:00
1 parent b121c2d0ee
commit 8f21f15c43
2 files changed
+7 -3

No files matched your search

+2 -1
View File
@@ -1407,8 +1407,9 @@ function dayBreak(index: number) {
white-space: nowrap; white-space: nowrap;
} }
/* 「23:59:59」8 个等宽数字 */
.c-time { .c-time {
width: 44px; width: 60px;
flex: none; flex: none;
font-size: 13px; font-size: 13px;
color: v-bind("theme.textColor3"); color: v-bind("theme.textColor3");
+5 -2
View File
@@ -15,9 +15,12 @@ export function submissionTimeText(time: string, withSeconds = false) {
return `${parseTime(time, "YYYY年M月D日")} ${clock}` return `${parseTime(time, "YYYY年M月D日")} ${clock}`
} }
/** 列表里每行只写钟点,日期在分隔行上(submissionDayText) */ /**
* 列表里每行只写钟点,日期在分隔行上(submissionDayText)。带秒:同一分钟里一个人
* 连交好几次是常事,只写到分钟就分不清先后
*/
export function submissionClockText(time: string) { export function submissionClockText(time: string) {
return parseTime(time, "HH:mm") return parseTime(time, "HH:mm:ss")
} }
/** 分隔行上的日子:今天 / 昨天 / 9月28日(跨年带年份) */ /** 分隔行上的日子:今天 / 昨天 / 9月28日(跨年带年份) */