Skip to content

[FEATURE]: Add configurable timestamp display format (date + time) #58034

Closed as duplicate

Description

@maicro42
  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

In the desktop/web UI, the footer under a user message shows only a short local time, for example:

Build · GLM-5.3 (Thinking) · 23:10

When reopening a session, messages from yesterday or earlier have no visible date, so there is no way to tell when they were sent without exporting the session.

Please add a configurable timestamp display format, for example:

  • time - current behavior: 23:10
  • date-time - 2026-10-22 23:10 (or a locale-aware equivalent)
  • relative - Today 23:10, Yesterday 09:10, with the full date for older messages

An opt-in setting is preferable to changing the default, so users who like the compact footer can keep it. The same preference could also apply to other timestamp surfaces, such as the session list.

The current desktop/web UI renders this value with Intl.DateTimeFormat(locale, { timeStyle: "short" }) in packages/session-ui/src/message/message-content.tsx; adding dateStyle when the user opts in would be enough for a first implementation.

Why this would be useful

  • Reviewing older sessions: messages from previous days are currently undated.
  • Correlating OpenCode activity with git commits, CI logs, deploys, and incidents.
  • Letting users choose between compact time-only footers and absolute date + time.

Related

Environment

  • OpenCode Desktop 2.1.0 (opencode v2.1.0)
  • OS: Windows 11 (Windows_NT 10.0.26200, x64)
  • UI: desktop app / web UI

Additional context

The footer under a user message shows Build · GLM-5.3 (Thinking) · 23:10; only the time is shown, with no date. I can provide a screenshot if useful.

Activity

  1. opencode-agent commented on Oct 22, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed write-up, and for pointing to the exact code.

    I think this is a duplicate of #44588. It reports the same problem: the footer under a user message shows only the time, so messages from earlier days have no date. Maintainers are already tracking this request there and have closed a near-identical Desktop report (#44936) in its favour.

    Possible duplicates and related issues, most likely first:

    Your proposal for an opt-in setting (time / date-time / relative) that keeps the compact footer as the default is a useful addition. Please consider adding it as a comment on #44588 so it sits with the main discussion.

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. opencode-agent commented on Oct 23, 2026

    @opencode-agent
    Contributor

    We haven't had a reply in the day since the duplicate notice, so I'm closing this as a duplicate of #44588. It covers the same problem: user message footers in the desktop/web UI show only the time, with no date.

    Please follow #44588 for updates. Your idea of an opt-in format setting (time / date-time / relative) that keeps the compact footer as the default would be a useful comment there. If your request turns out to be different after all, reply here and explain how, and it can be looked at again.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions