Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b121c2d0ee
commit
8f21f15c43
2 files changed
+7
-3
No files matched your search
@@ -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");
|
||||||
|
|||||||
@@ -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日(跨年带年份) */
|
||||||
|
|||||||
Reference in new issue
Block a user