You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Blame and PR comment times read differently from the rest of the app, and comment times are in UTC, not mine #704
Times in TuiCode read differently from screen to screen, and from the other MentalDesk apps. Blame says 3 weeks ago (2026-09-04), with the units spelled out and the date in the author's time zone. A PR comment is headed alice · 2026-11-14 09:30 in UTC, so I have to work out what that was in my own time. A user who also uses a-team or Swatch sees a third way of writing it.
Evidence
mentaldesk/TuiCode#703 brings in MentalDesk.Tui 0.6.11. Its mentaldesk/tui-style-guide#143 adds the guide's Times and durations rule: now, 5m ago, 3h ago, 2d ago, then 9 Nov; exact times always in local time, as 09:30, 14 Nov 09:30 or 14 Nov 2025 09:30. The library's Times writes them.
That PR names what TuiCode should change: the blame view's When (relative time, without the (2026-09-04) suffix and the spelled-out units) and the PR comment heading HeadingFor (exact time, moving it from UTC to local).
Where it shows today: src/TuiCode.Workbench/Git/BlameView.cs (When, Ago) and src/TuiCode.Abstractions/IGitHubCli.cs (GitHubComment.HeadingFor). The log file's yyyy-MM-dd HH:mm:ss is written for machines, so the rule leaves it as it is.
Why it fits
TuiCode's AGENTS.md says its UI follows the MentalDesk TUI style guide, and builds each rule from its library. This brings blame and the PR Overview and threads, the screens of vision theme 2 (Seeing change), into line with that rule. It's a small change in two places, with no new screen.
Recommended: Medium · theme 2, small · blame and PR comments show times the style guide way, and comment times move from UTC to local; two call sites, the library already writes them
Activity
a-team-app commentedon Nov 20, 2026
Recommended: Medium · theme 2, small · blame and PR comments show times the style guide way, and comment times move from UTC to local; two call sites, the library already writes them