Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Include local time in downloaded report filenames

Chiusa
#309 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@106081011 ci sta già lavorando.

Dal 14/10/2026.

  • #313 di @106081011 — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Rust
Stelle
160
Fork
64
Merge medio
1g 10h
PR unite (30g)
116

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sysprog21/codetrial

Tutte le issue di sysprog21/codetrial

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.