Older mobile chat messages used the phone's date format even after T3's language changed. Their dates now follow T3's active language and keep an explicit locale region such as pt-BR; otherwise they use the phone's region consistently for both System and an explicitly selected language. Android falls back to the UI language when Hermes cannot format the regional combination, and message times still follow the device clock.
Fixes pingdotgg/t3code#38669
Reproduction on main#
Commit 8cf97b5f06 (main). The German interface still shows the US month-day date beneath the message, such as 3/5. The cause is at apps/mobile/src/features/threads/useMessageTimeFormatter.ts:21. Followed the steps under Evidence in the app on Pixel_9_API_37 (Android 17.0): With Android set to English (United States), selecting Deutsch in T3 left the March 5 message timestamp at 3/5 7:30 PM. After relaunching T3, the chat controls appeared in German, but the timestamp still read 3/5 7:30 PM.
Evidence#
Environment: Pixel_9_API_37, Android 17.0, Android Emulator on Linux x64
Steps:
- Set an Android phone’s system language to English (United States).
- In T3, open Settings, then General.
- Tap Language.
- Choose Deutsch.
- Return to the thread list on a connected environment with chat history.
- Open a thread with a message from an earlier day whose month and day numbers differ, such as March 5.
- Look at the date beneath that message.
Proven: the bug shows on main at 8cf97b5f06 and no longer shows on head e4a65cc1bc.
| Before | After |
|---|
| Commit | 8cf97b5f06 | e4a65cc1bc |
| Result | Shows: With Android set to English (United States), selecting Deutsch in T3 left the March 5 message timestamp at 3/5 7:30 PM. After relaunching T3, the chat controls appeared in German, but the timestamp still read 3/5 7:30 PM. | Does not show: With Android set to English (United States), choosing Deutsch in T3 changed the March 5 message date to 5.3. The timestamp read 5.3. 8:30 PM immediately and still showed the same date after relaunch, with the chat controls in German. |
| March 5 message after selecting Deutsch |  |  |
| March 5 message with German interface |  |  |
| Language change walkthrough | Before: Language change walkthrough | After: Language change walkthrough |
Not shown:
- The change in packages/client-runtime was not exercised by this proof.
Tests#
- 7bc05eae84 adds the failing test, alone, before the fix.
cd apps/mobile && pnpm exec vp test run src/features/threads/messageTimestamp.test.ts passed on head.
cd packages/client-runtime && pnpm exec vp test run src/locales.test.ts passed on head.
pnpm exec vp run check:changed passed on head.
Not in this change#
- Web and desktop deliberately keep formatting numeric chat dates in the system locale.
- On iOS, message times keep the device locale's hour cycle; T3 has no separate iOS clock preference override.
- Other mobile dates, such as scheduled tasks, usage resets, and work log dates, still use the device locale.
Who did the work#
- Written by Claude Opus 5.5, in Claude Code
- Review findings fixed by GPT 6.2 Sol, in Codex
- Reviewed by GPT 6.2 Sol, in Codex, and by Claude Opus 5.5, in Claude Code, each on its own
- Also reviewed by cubic, run locally by a program, with no score
- Reproduced on the device, on main and on the head, by GPT 6.2 Sol, in Codex
- Checks run by a program on base and head, not by an agent
Made in T3 Code by GPT 6.2 Sol and Claude Opus 5.5
coderabbitai[bot](GitHub profile, opens in a new tab) reviewed
Actionable comments posted: 1
7c6d7930-9fce-4b14-9c56-380fd1341b7cReviewing files that changed from the base of the PR and between e4a65cc1bc82a72b9c224a51f0cc2a3e19f4440c and 4a7084fc80a9c18c9b03b6da833383d60934b94b.
apps/mobile/src/features/threads/messageTimestamp.test.tsapps/mobile/src/i18n/locales.test.tspackages/client-runtime/src/locales.test.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.