gemini-cli - 💡(How to fix) Fix System Locale is ignored when rendering time and dates [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#25669Fetched 2026-04-20 12:15:40
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Code Example

│                                                                                                                                                                                                                                          │
About Gemini CLI│                                                                                                                                                                                                                                          │
CLI Version                                                                      0.38.2Git Commit                                                                       b0ed611a06                                                                                                                                              │
Model                                                                            gemini-3-flash-preview                                                                                                                                  │
Sandbox                                                                          no sandbox                                                                                                                                              │
OS                                                                               linux                                                                                                                                                   │
Auth Method                                                                      Signed in with Google (s***@gmail.com)Tier                                                                             Gemini Code Assist for individuals
RAW_BUFFERClick to expand / collapse

What happened?

My system's LC_TIME is set to en_GB.UTF-8. I expect all times to be in 24-hour time, yet Gemini CLI keeps showing 12-hour time.

This is visible in both the /model popup, as well as when I hit usage limits during a task.

What did you expect to happen?

I expected Gemini CLI to use my system's locale to format timestamps. I expect the model usage time to be written as Resets: 17:48 (19h 12m) instead of Resets: 5:48 PM (19h 12m).

Client information

│                                                                                                                                                                                                                                          │
│ About Gemini CLI                                                                                                                                                                                                                         │
│                                                                                                                                                                                                                                          │
│ CLI Version                                                                      0.38.2                                                                                                                                                  │
│ Git Commit                                                                       b0ed611a06                                                                                                                                              │
│ Model                                                                            gemini-3-flash-preview                                                                                                                                  │
│ Sandbox                                                                          no sandbox                                                                                                                                              │
│ OS                                                                               linux                                                                                                                                                   │
│ Auth Method                                                                      Signed in with Google (s***@gmail.com)                                                                                               │
│ Tier                                                                             Gemini Code Assist for individuals
  • Operating System: Linux dalek 6.19.12-1-cachyos #1 SMP PREEMPT_DYNAMIC Sun, 12 Apr 2026 13:50:14 +0000 x86_64 GNU/Linux
  • Sandbox Environment: no sandbox
  • Terminal Name: Konsole 25.12.3

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The Gemini CLI may not be respecting the system's LC_TIME locale setting, causing timestamps to be displayed in 12-hour time instead of the expected 24-hour time.

Guidance

  • Verify that the LC_TIME environment variable is set correctly in the terminal or shell configuration where the Gemini CLI is being run.
  • Check if the Gemini CLI has a specific configuration option or flag to override the system locale settings for timestamp formatting.
  • Investigate if there are any known issues or limitations in the Gemini CLI version 0.38.2 related to locale settings or timestamp formatting.
  • Consider testing the Gemini CLI with a different locale setting to see if the issue is specific to the en_GB.UTF-8 locale.

Notes

The issue may be specific to the Gemini CLI's handling of locale settings or timestamp formatting, and further investigation is needed to determine the root cause.

Recommendation

Apply workaround: Check the Gemini CLI documentation or issue tracker for any known workarounds or fixes related to locale settings and timestamp formatting, as upgrading to a fixed version is not explicitly implied in the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING