Include local time in downloaded report filenames
维护者通常 1 天内回复
@106081011 已经在做这个了。
开始于 2026年10月14日。
评估
这个 Issue 还没有评估数据。
描述
Current behavior
reportFilename() in web/download.js generates filenames using only the problem ID and local calendar date.
When multiple interviews for the same problem occur on the same day, their reports receive the same suggested filename, making them difficult to distinguish by name.
Expected behavior
Include the local time in the filename so reports from different interview times on the same day are easier to identify.
For example:
- Current:
interview-report-two-sum-2026-10-14.md - Proposed:
interview-report-two-sum-2026-10-14-153000.md
The proposed suffix uses the format YYYY-MM-DD-HHMMSS.
Proposed change
Update reportFilename() to include the local hours, minutes, and seconds while preserving the existing problem ID sanitization and date formatting.
Update tests/browser/download.test.js to verify the new format, including local date boundaries and different interview times on the same day.
This change only affects downloaded filenames and does not modify report contents.
- 主要语言
- Rust
- 星标
- 160
- 派生
- 64
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 114
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sysprog21/codetrial 的其他 Issue
-
Highlight the active line in the code editor可能已有人在做 @ArthurArthurArthur0817 于 7 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
sysprog21/codetrial#247 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Avoid automatic bracket pairing inside comments and strings可能已有人在做 @Jonathas2127 今天认领。 未关闭
sysprog21/codetrial#307 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 15/100
维护者通常 1 天内回复
-
Preserve test run history可能已有人在做 @yunhsuan0510 今天认领。 未关闭
难度 3/5 1-2 天 新手友好度 62/100
sysprog21/codetrial#301 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Standardize section header and toggle indicator styles for test panel可能已有人在做 @kumi222 于 1 天前认领。 未关闭
sysprog21/codetrial#298 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 sysprog21/codetrial 的全部 Issue
相似的 Issue
-
Custom hosts written as trailing-dot FQDNs (`host.local.`) aren't detected as local backends可能已有人在做 @roboomp 今天认领。 未关闭bug prio:p2 providers triaged
难度 2/5 1-3 小时 新手友好度 82/100
can1357/oh-my-pi#15798 · 3 条评论 ·
维护者通常 1 天内回复
-
requires-triage
难度 2/5 1-3 小时 新手友好度 68/100
apache/datafusion-comet#7001 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
Add a Storybook section to CONTRIBUTING.md可能已有人在做 @ChanakyaG2004 今天认领。 未关闭documentation good first issue
难度 2/5 1-3 小时 新手友好度 82/100
FlowwStar/FlowStar#995 · 2 条评论 ·
维护者通常 1 天内回复