Include local time in downloaded report filenames
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 160
- Fork
- 64
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 124
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sysprog21/codetrial
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
sysprog21/codetrial#318 · 3 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Candidate test cases persist across interviews for the same problem in the same tabCó thể đã có người làm @MZGamer đã nhận 1 ngày trước. Đang mở
sysprog21/codetrial#336 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A correct C solution to Clone Graph does not compileCó thể đã có người làm @Wu-1127 đã nhận 1 ngày trước. Đang mở
sysprog21/codetrial#332 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Run the live interviewer on a local speech pipelineCó thể đã có người làm @alanhc đã nhận 1 ngày trước. Đang mở
sysprog21/codetrial#330 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Let the candidate undo Continue without camera in the preflightCó thể đã có người làm @HALA1028 đã nhận 2 ngày trước. Đang mở
sysprog21/codetrial#327 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của sysprog21/codetrial
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nautechsystems/nautilus_trader#5365 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
IntersectMBO/developer-experience#347 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
registrystack/registry-stack#2168 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug crate: 3d help wanted triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kornia/kornia-rs#1203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày