Feature request: support 12-hour time in the Usage remaining panel
Open 💬 2 comments Opened Jun 26, 2026 by Sultanimate
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Summary
Please let the Codex desktop app show times in the Usage remaining panel in 12-hour format, or at least follow the user's locale / OS clock preference.
Current behavior
The Usage remaining panel shows the reset time in 24-hour / military time. Example: 18:49.
Expected behavior
One of these would solve it:
- Respect the user's locale / OS time format automatically
- Respect Codex locale settings when formatting usage reset times
- Add an explicit app setting for 12-hour vs 24-hour time
Repro
- Open the Codex desktop app on Windows.
- Open the profile / usage panel.
- Look at the time shown next to the usage reset information.
- The time appears in 24-hour format.
Environment
- Codex Windows app
- App version:
26.623.4041.0 - Locale override in Codex config:
en-US - Windows short time format: 12-hour (
h:mm tt)
Notes
Even with en-US configured in Codex and Windows already set to a 12-hour clock, the usage panel still displays 24-hour time. It would be preferable if this part of the UI matched the rest of the user's regional formatting expectations.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I pushed a candidate fix here:
https://github.com/openai/codex/compare/main...Nicolas0315:codex/usage-reset-12-hour?expand=1
Summary:
LOCALE_STIMEFORMATand uses a 12-hour label when the OS preference is 12-hour.Verification:
rtx4090Windows:just fmt;git diff --check;cargo test --manifest-path codex-rs\Cargo.toml -p codex-tui reset_timestamp_ -- --nocapture;cargo test --manifest-path codex-rs\Cargo.toml -p codex-tui detects_hour_cycle_from_windows_time_patterns -- --nocapture;cargo check --manifest-path codex-rs\Cargo.toml -p codex-tui.cyberagent-mac-m5max: fetched230a7d17e;git diff --check; same focused tests;cargo check --manifest-path codex-rs/Cargo.toml -p codex-tui.nicolas2025: fetched230a7d17e;git diff --check;cargo check --manifest-path codex-rs\Cargo.toml -p codex-tui.nicolas-macbook-pro: fetched230a7d17e;git diff --check; Rust toolchain unavailable, so cargo checks skipped there.rtx5060ti: fetched230a7d17e;git diff --check;cargo checkis blocked by that host's linker setup (link.exerejects MSVC flags, cargo exit101); confirmed no lingering cargo/rustc/link processes.origin/main:git merge-tree --write-tree origin/main HEADreports no conflicts.