(ts: string | undefined)
| 692 | } |
| 693 | |
| 694 | function dateOnly(ts: string | undefined): string { |
| 695 | if (!ts) return new Date().toISOString().slice(0, 10); |
| 696 | try { |
| 697 | return new Date(ts).toISOString().slice(0, 10); |
| 698 | } catch { |
| 699 | return new Date().toISOString().slice(0, 10); |
| 700 | } |
| 701 | } |
| 702 | |
| 703 | function buildTranscriptPage(path: string, session: ParsedSession): PageRecord { |
| 704 | const remote = resolveGitRemote(session.cwd); |
no outgoing calls
no test coverage detected