claude-code - 💡(How to fix) Fix Feature request: Show timestamps on chat messages [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54176Fetched 2026-04-29 06:34:15
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
labeled ×2commented ×1

Add timestamp display next to each message in the chat UI (both user messages and Claude's responses).

Root Cause

Add timestamp display next to each message in the chat UI (both user messages and Claude's responses).

RAW_BUFFERClick to expand / collapse

Description

Add timestamp display next to each message in the chat UI (both user messages and Claude's responses).

Use case

When reviewing conversation history, it's helpful to know the exact time each message was sent/received. Currently there's no visual timestamp — users can't tell when a conversation happened without checking history.jsonl manually.

Suggested format

Show time (HH:MM) next to each message, e.g.:

  • [11:00] User: Hello
  • [11:01] Claude: Hi there

Notes

  • history.jsonl already stores timestamps per message, so the data exists — just needs UI rendering
  • Could be an optional setting for users who want it

extent analysis

TL;DR

Displaying timestamps next to each message in the chat UI can be achieved by modifying the UI rendering code to include the timestamp data already stored in history.jsonl.

Guidance

  • Review the current UI rendering code to identify where message text is displayed and modify it to include the timestamp.
  • Use the existing timestamp data from history.jsonl to populate the timestamp display.
  • Consider adding an optional setting to allow users to toggle the timestamp display on or off.
  • Verify that the timestamp format matches the suggested format (HH:MM) for consistency.

Example

// Pseudo-code example, actual implementation may vary
const messageElement = document.createElement('div');
const timestamp = getMessageTimestamp(); // retrieve timestamp from history.jsonl
const messageText = getMessageText();
messageElement.textContent = `[${timestamp}] ${messageText}`;

Notes

The exact implementation details may vary depending on the specific UI framework and technology stack used. This guidance assumes that the timestamp data is readily accessible from history.jsonl.

Recommendation

Apply workaround by modifying the UI rendering code to include the timestamp display, as the issue does not imply a version upgrade is necessary.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING