fix(个人主页): 总共学习天数改为有提交的天数
Deploy / deploy (push) Has been cancelled

原来是首末提交之间跨了多久,现在按东八区日期对提交去重计数,比赛提交也算。
首末提交时间仍只看比赛外的提交,口径不变。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5 committed 2026-09-19 07:07:57 -06:00
1 parent 06ad6745b7
commit b4c0f89291
3 files changed
+18 -12

No files matched your search

+2
View File
@@ -19,6 +19,8 @@ export const metricsSchema = z.object({
now: z.string(),
latest: z.string(),
first: z.string(),
/** 有提交的日历天数(东八区),不是首末提交之间跨了多少天 */
activeDays: z.number().int(),
})
export const rankProfileSchema = z.object({