Skip to content

Add configurable time format support #1888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

mattrobenolt
Copy link

  • Add time_format config option: 'detect', '12h', '24h'
  • Auto-detects system preference on macOS, defaults to 12h elsewhere
  • Updates TUI to display timestamps in user's preferred format

- Add time_format config option: 'detect', '12h', '24h'
- Auto-detects system preference on macOS, defaults to 12h elsewhere
- Updates TUI to display timestamps in user's preferred format
Cache system detection result in app state to avoid running date command on every message render
@adamdotdevin
Copy link
Contributor

only thing i see missing is a call to app.SaveState to save the detected time format!

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.

2 participants