[PR #1871] [CLOSED] feat: add configurable time format for conversation exports and interface #10092

Closed
opened 2026-02-16 18:14:41 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1871
Author: @sollie
Created: 8/12/2025
Status: Closed

Base: devHead: feature/timeformat


📝 Commits (2)

  • 10ef8bb feat: add configurable time format for conversation exports and interface
  • 514dd98 Merge branch 'sst:dev' into feature/timeformat

📊 Changes

5 files changed (+80 additions, -7 deletions)

View changed files

📝 packages/opencode/src/config/config.ts (+48 -1)
📝 packages/sdk/go/config.go (+3 -0)
📝 packages/tui/internal/components/chat/message.go (+11 -3)
📝 packages/tui/internal/tui/tui.go (+6 -3)
📝 packages/tui/internal/util/util.go (+12 -0)

📄 Description

  • Add timeFormat config option with "auto", "12h", "24h" values
  • Auto-detect system time preference using Intl.DateTimeFormat
  • Apply time format to both conversation exports and TUI interface
  • Add shared utility function for consistent time formatting

I've only been able to test on macOS.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1871 **Author:** [@sollie](https://github.com/sollie) **Created:** 8/12/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/timeformat` --- ### 📝 Commits (2) - [`10ef8bb`](https://github.com/anomalyco/opencode/commit/10ef8bbce6dddbb2d4abee3e9c9933ae2bce7caa) feat: add configurable time format for conversation exports and interface - [`514dd98`](https://github.com/anomalyco/opencode/commit/514dd9851ce150fb5663a6f4704f37a085104668) Merge branch 'sst:dev' into feature/timeformat ### 📊 Changes **5 files changed** (+80 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/config/config.ts` (+48 -1) 📝 `packages/sdk/go/config.go` (+3 -0) 📝 `packages/tui/internal/components/chat/message.go` (+11 -3) 📝 `packages/tui/internal/tui/tui.go` (+6 -3) 📝 `packages/tui/internal/util/util.go` (+12 -0) </details> ### 📄 Description - Add timeFormat config option with "auto", "12h", "24h" values - Auto-detect system time preference using Intl.DateTimeFormat - Apply time format to both conversation exports and TUI interface - Add shared utility function for consistent time formatting I've only been able to test on macOS. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:41 -05:00
yindo closed this issue 2026-02-16 18:14:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10092