mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-08 08:29:42 +02:00
feat(ui): add started time display in timer banner
- Show start time in timer banner (e.g., "Started: 14:30") - Style with monospace font for consistent width Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1073,6 +1073,12 @@ class ClaudemanApp {
|
||||
// Timer
|
||||
showTimer() {
|
||||
document.getElementById('timerBanner').style.display = 'block';
|
||||
// Set started time
|
||||
if (this.currentRun && this.currentRun.startedAt) {
|
||||
const startDate = new Date(this.currentRun.startedAt);
|
||||
const timeStr = startDate.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });
|
||||
document.getElementById('timerStarted').textContent = `Started: ${timeStr}`;
|
||||
}
|
||||
this.updateTimer();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user