Skip to content

feat: add timestamp to messages#566

Open
tibisabau wants to merge 1 commit intoOpenHands:mainfrom
tibisabau:feat/add-timestamp-to-messages
Open

feat: add timestamp to messages#566
tibisabau wants to merge 1 commit intoOpenHands:mainfrom
tibisabau:feat/add-timestamp-to-messages

Conversation

@tibisabau
Copy link

Description

Added timestamps in hh:mm:ss format to all messages in the TUI conversation view. User messages now display as [hh:mm:ss] > message content and agent messages (including FinishAction, ThinkAction, and MessageEvent) display timestamps as **[hh:mm:ss]** message content. This enhancement makes it easier to correlate events across multiple conversations spanning different time periods.

To ensure deterministic snapshot testing, implemented datetime mocking in the E2E test fixtures that returns a fixed timestamp (2026-03-03 12:00:00) for all events. This prevents snapshot failures due to timestamp variations between test runs.

Closes #232.

The code in this pull request was generated by GitHub Copilot with the Claude Sonnet 4.5 model.

Checklist if Applicable

  • The tests passed – make test (1260 tests passed), make test-snapshots (59 snapshots passed)
  • Linting passed – make lint (all checks passed)
  • Documentation has been added
  • CHANGELOG.md has been updated

Copy link
Collaborator

@enyst enyst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR! Could you post screenshots or video, to see how it looks like?

@tibisabau
Copy link
Author

Thank you for the PR! Could you post screenshots or video, to see how it looks like?

AdobeExpressPhotos_fc7841595de74884ad93d4d9807908b7_CopyEdited AdobeExpressPhotos_14627ca3a5734dd4b2aaf91296352563_CopyEdited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat request: add timestamp to messages

2 participants